Regular Expressions To Match Common Special Characters (Unicode Symbols)

Regular expressions can offer a level of complexity and depth many developers fail to utilize. There are regular expressions all over the place but for those looking for something with a bit more detail, I’ve put together several regular expressions that can be used to match specific special characters and Unicode symbols like ❤, ®, €…

Heart ❤


Registered Trade Mark Sign ®


Trademark Symbol ™


Dollar Sign $


Euro Sign €


Pound Sign £


Japanese Yen/Renminbi ¥


Indian Rupee Sign ₹


Ruble Sign ₽



Regex patterns can be very helpful in matching strings of text. One reason is that they are highly flexible, another reason is that they provide you with better control than just a string’s normal find function.

Hopefully, this article has covered the basics of how to get familiar with regular expressions and how they can be useful in a design tool.

See Also: