You can use \u
to allow any unicode character. If you have a limited set of unsupported characters that can be listed, then you can use character class negation by enclosing the unsupported characters in [^
and ]
.
More Related Contents:
- How to negate specific word in regex? [duplicate]
- Support of \K in regex
- Validating email addresses using jQuery and regex
- Bash Regular Expression — Can’t seem to match any of \s \S \d \D \w \W etc
- Extract a regular expression match
- Regular Expression to match only alphabetic characters
- Regular expression that doesn’t contain certain string [duplicate]
- How to match digits in regex in bash script
- Why does strsplit use positive lookahead and lookbehind assertion matches differently?
- Returning a regex match in VBA (excel)
- Regex to match month name followed by year
- Regex for alphanumeric, but at least one letter
- regex to match word boundary beginning with special characters
- Does the ‘o’ modifier for Perl regular expressions still provide any benefit?
- regular expression to match everything until the last occurrence of /
- What regular expression can never match?
- What regex will match every character except comma ‘,’ or semi-colon ‘;’?
- Regular Expression Validation For Indian Phone Number and Mobile number
- Can I use Perl regular expressions to match balanced text?
- How do I perform a Perl substitution on a string while keeping the original?
- replace a unknown string between two known strings with sed
- Match Sequence using RegEx After a Specified Character
- How can I parse quoted CSV in Perl with a regex?
- Nginx location “not equal to” regex
- htaccess force https and redirect www to non-www, but no other subdomains
- How to escape dollar sign ($) in a string using perl regex
- Checking for diacritics with a regular expression
- Filtering a diff with a regular expression
- Bash – Regex for HTML contents
- Extracting text after last period in string [duplicate]