View Single Post
  #5 (permalink)  
Old 06-26-09, 04:36 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 7,536
Thanks: 5
Thanked 20 Times in 18 Posts
^ matches the beginning of the string.
\d matches a digit, {4} times.
[ ]? matches an optional space.
[a-z] matches characters from a-z, {2} times.
$ matches the end of the string.
i, makes the whole thing case-insensitive.

Take a look at that video too. It's pretty nice.
Reply With Quote