emblewembl
Programmer
I am using regular Expressions an need to know how I can search for a '-'. If I am looking for any character i use:
[a-zA-Z0-9]
If I'm looking for any character or an apostrophe I use;
[a-zA-Z0-9']
But How do I get it to look for a dash?
Thanks!
[a-zA-Z0-9]
If I'm looking for any character or an apostrophe I use;
[a-zA-Z0-9']
But How do I get it to look for a dash?
Thanks!