I have been trying to find a regular expression in PHP that can match letters from all languages. I've searched online and found some solutions, but they don't seem to cover all languages. I need a solution that can handle characters from any language, including special characters and diacritics.
Currently, I am working on a project that involves processing user input, and I want to ensure that I only accept letters from any language in the world. I am aware that there are different character sets and encoding standards, so I need a regex pattern that can handle any kind of input.
If anyone has faced a similar issue or has any knowledge about handling multi-language characters in PHP regex, I would greatly appreciate your guidance. Any example code or concepts that I can study would be incredibly helpful. Thank you in advance for your assistance!