Regex problem - Post ID 256299

User 56337 Photo


Registered User
12 posts

Hi,

I added a few regex in a form, it's not working.
When writing /[0-9]{2}.[0-9]{2}.[0-9]{2}-[0-9]{3}.[0-9]{2}/, I can even add abc, +-*

What happened ?

Greetings,

Luc
User 187934 Photo


Senior Advisor
20,271 posts

What do you want to control or prevent?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 56337 Photo


Registered User
12 posts

I want them to enter their ID nr of the National register.
Is like YY.MM.DD-999.99 (9 is equivalent of digit from 0 till 9)

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.