in reply to Re: Regex solution needed
in thread Regex solution needed

Couldn't that big regexp be simplified to /\b cock s?/x?

( Nevermind, yours doesn't censor "game cocks". I was thinking "gamecocks". )

Replies are listed 'Best First'.
Re^3: Regex solution needed
by spivey3587 (Acolyte) on Feb 23, 2007 at 19:58 UTC
    Correct. Users chatting about the team will either incorrectly separate it into two words, or use a shortened version such as 'the cocks game'.