need help to derive regular expression

Hi All,

i need help to derive a regular expression for the below requirement

check if the a variable ‘X’ is one one among the values S , C and D

or not ?? .
Thanks in advance.

Hi Ithink this will work /[SsCcDd]+/

Please test and let me know


/^[SCD]/ is the regular expression to check whether the variable starts with S or C or D

Hi Nandini,

Is your requirement/question answered? If not please give provide me a example on your requirement and what exactly you are trying to do.

I can try to help you :wink: