Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By benoitp
#814021
Hello,

I would like to use this regexp to validate a text input in a dynaform :
Code: Select all
^[0-9]+(k|K|m|M|g|G|t|T){0,1}$
I tried this regexp on several online regexp validator, and it seems to be valid.
But that not the case in PM. I can't enter : "100G" on just "5"

Any idea ?
By benoitp
#814118
Very strange, but yes, it's working in your form.

I don't know what it was not working in mine (big form, many fields). I did a different regexp to do the same thing, so i solved my pb.

Thank you for your report.

Experience heightened pleasure with Cenforce 100 M[…]

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]

Betvisa clone scripts are pre-built software solut[…]