regular expression help

theGlove

Senior member
Jan 13, 2005
884
0
0
Hi all,
I'm having trouble trying to figure out how to represent spaces in REs, how would i create a regular expression (unix) so that I can match this line:

Line = "This is a test , 1234next second test"

Reg expression = "test* , *next"