Can I make the "starts with" Operator in condition builder to be case insensitive?

Mohamed Taha
Tera Expert

I'm using condition builder and want the "starts with" operator to be case sensititve 

i want it to evaluate to true if it starts with MO/Mo/mo/mO 
so i don't want to make 4 Condition with OR 
is there a way to make it in single condition? 

2 REPLIES 2

SufiyanMurshad
Tera Contributor

You can write Script instead of 4 condition 

if(/^(MO|Mo|mO|mo)/.test(current.your_field_name))

 

Ankur Bawiskar
Tera Patron
Tera Patron

@Mohamed Taha 

nope, I don't think it's possible.

the only way is to use 4 conditions

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader