in reply to regex match unicode characters in ascii string

G'day 3dbc,

I see you have a solution to your posted question. This is just a "for-future-reference" comment on:

"FYI, this is the $string below, when you put it in code blocks it shows up wrong"

Using '<code>' tags is much preferred: you don't have to mess around changing '&' to '&amp;', '<' to '&lt;', and so on; and we can get a verbatim copy of your code or data via the '[download]' link. However, as you've experienced, there can be problems when using non-ASCII characters; in these cases, use '<pre>' instead of '<code>' tags.

This uses '<code>' tags:

Group Name&#9660;&#9660;Role

This uses '<pre>' tags:

Group Name▼▼Role

— Ken