Regex to match if first 5 characters of string -


hi need regex match pattern, first 5 charcters must "54321" , entire string must 16 characters long , can contain numbers

thanx

how about

(54321)\d{11} 

54321 match 54321

and since entire string must 16

so \d{11} match number length 11


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -