Jump to content

preg match


Woodburn2006

Recommended Posts

after hours of trying i can not still get to grips with this function, i am trying to work it so that a user cannot enter anything different than this format: 00.000

 

it is for lap times so they could enter: 32.999 or something similar but it has to have 2 numbers before the decimal place and 3 after.

 

can anyone help?

Link to comment
https://forums.phpfreaks.com/topic/78269-preg-match/
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.