Regular Expressions

I use Emurasoft’s EmEditor as my preferred text editor, and wanted to find a way to identify non alphanumeric characters, including foreign characters.

After a bit of Googling, I found a regular expression to find characters in a range.

The regular expression below is used to find any characters betwen 0 and 127, which includes A-Z, a-z, 0-9, various symbols.

Plus 192 to 255, such as À to ÿ.

[\x00-\x7F\xC0-\xFF]

Updated: Wednesday, 22nd January, 2020 — 1:12 pm

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.