Avatar of John Carney
John Carney
Flag 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
Microsoft ExcelRegular Expressions

Avatar of undefined
Last Comment
Terry Woods

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Terry Woods

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
John Carney

ASKER
Hi Terry, thanks. What would match one or more spaces?
ozo

\s+ would match one or more spaces
Terry Woods

Thanks ozo...
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy