Simple Regular Expression question
Posted: Sat Dec 30, 2017 6:51 pm
Hi all!
I want to do something I think should be simple with regular expressions but I can't quite get the syntax right. I thought maybe someone else could help.
My goal is simply a find, not a find and replace.
I want to be able to find anytime there is a numeral followed by a comma and a space and then another numeral. As a separate search I want to find anytime there is a numeral followed by a space the word "and" another space and another numeral.
In short, I want to find any example of this, where "#" in these examples is any number, 0-9:
#, #
# and #
Can anyone help me out? Thanks so much!
I want to do something I think should be simple with regular expressions but I can't quite get the syntax right. I thought maybe someone else could help.
My goal is simply a find, not a find and replace.
I want to be able to find anytime there is a numeral followed by a comma and a space and then another numeral. As a separate search I want to find anytime there is a numeral followed by a space the word "and" another space and another numeral.
In short, I want to find any example of this, where "#" in these examples is any number, 0-9:
#, #
# and #
Can anyone help me out? Thanks so much!