function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
new_bienew_bie 

Regex Clarification?

Hi

 

I wanna small clarification abt the below expression

"\\D*?(\\d\\D*?){10}"

 

can any one explain each and evering in that exp.

like

\\D*?

\\d

\\D

 

NOT(REGEX(Phone, "\\D*?(\\d\\D*?){10}"))

 

Regards..

davidjgriffdavidjgriff

Check out RegExr . You can paste in your RegEx in the upper box and then hover over each element to get an explanation of what it does. (After removing the extra slashes, of course). It will also try to match your expression against whatever text is in the lower area so you can make sure you are matching what you expect to match.

 

It's a great tool for playing with regular expressions and has plenty of info to help you build/alter them.