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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -