regex pattern to match first 2 numbers in a string -
this question has answer here:
can 1 please
i need regex pattern check the first 2 numbers match either 01 or 02 or 03 or 07 only
^0[1237] ^- start of string0- zero[1237]- character set matches 1 of listed
Comments
Post a Comment