in reply to Regex solution needed
Certainly an interesting problem. I participate on a message board for my favorite hockey team, which has a too-stringent filter that gets old quite quickly.
Specifically, the team has drafted a Russian goaltending prospect with the unfortunate name "Semen Varlamov", which is transformed to "Shipsmen Varlamov". I actually sometimes have trouble remembering what his real first name is.
And, apropos to your "gamecocks" problem, whenever a discussion touches on a coach named "Hitchcock", his name is changed to "Hitchjeffrey".
I'm hoping the message board you're working on is the one I post to, but I doubt I'd have that kind of luck.
|
|---|