Thread: Reg Ex help!
View Single Post
Old 04-06-2011, 01:06 PM  
CS-Jay
Confirmed User
 
CS-Jay's Avatar
 
Join Date: Oct 2003
Location: Command Central, West Palm Beach, Fl
Posts: 1,794
Reg Ex help!

Hey all, I'm having a tough time with some regular expressions, and was wondering if someone could lend a hand.

I am starting off with a phrase:

quinton jackson

Then I want to compare the phrase:

quinton rampage jackson

To see if they match. I'm actually trying to do this out of mysql command line right now, with little luck.

I can get the first part, regex (^q.[\s]) but not match anything else.

I am totally lost on regex for some reason. Any help would be great!
__________________
I do stuff - aIm CS_Jay_D
CS-Jay is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote