That will only check if their name is ".com", ".ro", etc.
@deviss: You might get more help looking on a RegEx forum; unless an advanced scripter that has experience with RegEx (*cough* Exolent *cough*) cares to help out.
I think you have a typo in there. Also, I would probably just avoid the word boundary pattern (I'm not even sure if it's supported).
Code:
[\w\.]+\.(com|ro|ru|info|eu|biznet|org)
If this doesn't work then I suggest that you try things with Exolent's RegEx Tester plugin. Start with the most simple pattern and start adding things to it. E.g. Try it with just a single extension (.com, etc) and see if you can get it to match correctly without giving an incorrect match (like you mentioned above.
As i've said, the line i've posted works fine but for example if there is someone named Hescom , his nickname will be changed because it contains in his name, at the end "com" while the line should block only the .com at the end of the name, it ignores the .com , Also if some name contains just the "." it will also change it.
I've tried looking for a simple plugin that would change the nicknames but it's kinda stupid to use two plugins for the same things.
Atm i'm using RegEx to rename names that have less than 2 chars, more than 26 and those named Player. Still trying to find the solution for .com at the and
@fisiks, what would be the difference of your posted line?