Can be this so it would be $nick's instead of $nick 's
Code
Or if you wanted Regex, I added some stuff
(07:34:36) <@Dean-> @cookie
(07:34:37) * %[eH] Dean- steps up to the cookie...
(07:34:39) <%[eH]> Dean- gobbles up the cookie.
(07:34:41) <@Dean-> .cookie
(07:34:42) * %[eH] Dean- steps up to the cookie...
(07:34:43) <%[eH]> Dean- has a bad aim of where his/her mouth is, and gets some crumbs in his/her eye.
(07:34:44) <@Dean-> !cookie
(07:34:45) * %[eH] Dean- steps up to the cookie...
(07:34:47) <%[eH]> Dean- gets bullied into giving the cookie to [eH] .
^Example
[13:47] <+`Dean> .horoscope scorpio
[13:47] <~exHelp> Sign & Dates: Scorpio (10/23-11/21) Today: Saturday, February 6, 2010
[13:47] <~exHelp> Quickie: Be patient and avoid temptation. What seems like a sure bet won't pay off.
[13:47] <~exHelp> Overview: Try not to worry to much about the past -- you need to focus on your vision of the future. It's a really good time for you to step up and enlist the aid of those who are sympathetic to your cause.