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
SARANG DESHPANDESARANG DESHPANDE 

Regular Expression

I want to use Reg ex in validation formulat for a field name. The name entered should be in format:
"TS_IT[0-9]_UC[0-9]_[any text]" example:
TS_IT04_UC05_test script for testing

how can this be achieved?
pconpcon
You want to use a REGEX of
 
TS_IT[0-9]+_UC[0-9]+_.*

This will match 1 or more digits after IT and after UC and any number of characters after the third underscore