Jump to content

preg match


astralaaron

Recommended Posts

Synook's example will work for only 1 of the three. You need to set a minumum/maximum, which can be done a number of ways, just depends on what exactly you need the regex for.

Link to comment
Share on other sites

[a-zA-Z\s] only matches one of the characters. A user could input something like "E12345676543234566432" and it would work because theres a capital E there

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...