Reputation: 33
/((?:[a-zA-Z\p{Cyrillic}0-9]+))(#)(\\d+)/is
That's what I recently tried but still doesn't work. I have no idea what else to try.
Upvotes: 2
Views: 257
Reputation: 91430
Just add the u
modifier (for unicode) at the end of the regex:
/((?:[a-zA-Z\p{Cyrillic}0-9]+))(#)(\\d+)/isu
// here ___^
Upvotes: 3