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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -