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.

Web3 development encompasses creating decentralize[…]

The Upland Clone Script, offered by Dappsfirm, rep[…]

Dappsfirm offers a bet365 clone script that mirror[…]

🚀 Tauchen Sie mit Immediate Alora AI in die Welt d[…]