Link to home
Start Free TrialLog in
Avatar of John Carney
John CarneyFlag for United States of America

asked on

Regex that will specify space or no space

Right now I have a very simple regex pattern of : .Pattern = "\d[A-M]+" I haven't used regex for about 3 years and i can't remember how to write it. I might have one or two other simple questions as well.

Thanks!
John
ASKER CERTIFIED SOLUTION
Avatar of Terry Woods
Terry Woods
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of John Carney

ASKER

Hi Terry, thanks. What would match one or more spaces?
\s+ would match one or more spaces
Thanks ozo...