code_junkie

regex matching alpha character followed by 4 alphanumerics

Nov 12th, 2011
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. ^[A-C][a-zA-Z0-9]{4}$
  2.  
  3. [A-C][A-Za-z0-9]{4}
  4.  
  5. [A-C][a-zA-Z0-9]{4}
  6.  
  7. [ABC][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9]
  8.  
  9. /[ABC](?i:[a-z0-9]{4})/
  10.  
  11. ^[A-C]w{4}$
  12.  
  13. <[ABC]([a-zA-Z0-9]{4})\>
Add Comment
Please, Sign In to add comment