Afternoon Folks,
I need some help with regular expressions with telephone numbers.
Here is our format (613)-236-0497
Any help is appreciated!
Afternoon Folks,
I need some help with regular expressions with telephone numbers.
Here is our format (613)-236-0497
Any help is appreciated!
The dash is not a special character in regular expressions unless it is within brackets or parenthesis.
\(\d\d\d\)-\d\d\d-\d\d\d\d
this is a common one, and is suggested in Laserfiche already.
Yes - but i need the brackets.
you mean \(\d\d\d\)\-\d\d\d\-\d\d\d\d ???
Basically, to use any special character of Regular expression explicitly, you need to put a \ in front of it to get it to cancel out it's special meaning. That is why we do this in front of ( ) and -
The dash is not a special character in regular expressions unless it is within brackets or parenthesis.
\(\d\d\d\)-\d\d\d-\d\d\d\d
Thanks Eric,
I guess without much experience in that section of the Laserfiche I did not remember about the dash not being a special character unless you are using brackets.
The Empower presentation by Flavio Kuperman was very helpful in understanding patterns and expressions. There is PowerPoint on the support website for CC204: The Power of Patterns in Laserfiche