View Single Post
Old 12-17-2010, 08:54 PM   #6
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
You should try replacing all empty space with \s+, \s*, or \s. I find that most times it won't work if you actually try to leave the empty space in.

It's also a good idea to build the regex in pieces so you can use the test function at each stage. If something goes wrong it's easier to figure it out that way.
ldolse is offline   Reply With Quote