regexmatch.dev
Explore
Open main menu
Save & Share
Facebook
Twitter
Tumblr
E-Mail
Pinterest
LinkedIn
Reddit
Invalid Unicode characters in XML
Published on Tue Mar 01 2022
This pattern matches all the Unicode characters that are not allowed in an XML document. It's based on the Wikipedia article "Valid characters in XML".
Regex
Test String
<bad></bad>
Additional matching regexes for
Invalid Unicode characters in XML
Invalid Unicode characters in XML
This pattern matches all the Unicode characters that are not allowed in an XML document. It's based on the Wikipedia article "Valid characters in XML".
Unicode username
Unicode user name check with som allowed non-alhanum characters
Match Javanese Script Syllable
Match any syllable based on javanese script unicode
FIlename sanitization regular expression
Useful for filename sanitization. Matches invalid filename characters. Can be used in preg_replace() calls.
streets with one or more names with unicode characters in python
streets with one or more names with unicode characters in python
Remove Special Ascii Characters from unicode String
By Using this string you can just remove ascii special characters from a unicode string characters like ♥♥♥♥ ▓▒ and other non unicode letters.
Name Validation
Start with capital letter. Allowed special characters '(Apostrophe) -(hyphen) .(dot) (space) and can not end with -(Hyphen)
what3words
This pattern check three words with a dot separator betwwern words. It use unicode; It is not yest compatible with javascript
(krishna)
() invalid, (k) valid, (kr123) valid. only () is invalid
Jeff Test
Valid and Invalid emails