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
SavithaSavitha 

formula field

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

please let me know what the above expression does
Subhani_SFDCSubhani_SFDC
Hi Savitha,

REGEX uses Java SE6 syntax for its functionality. Please refer the below the belo links to understand more about it.


https://developer.salesforce.com/forums/ForumsMain?id=906F00000008vYrIAI

http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html

Thanks,
Subhani,
Salesforce Certified Developer,
www.mydbsync.com