Help regular expersion - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help regular expersion (
/showthread.php?tid=648323)
Help regular expersion -
Paulthaz - 19.01.2018
Hello everyone! I do not know how to mess around with regular expersion, and I'm wanting a code that only accepts if I type something like this
W269N-WFGWX-YVC9B-4J6C9-T83GX
Re: Help regular expersion -
Rolux - 20.01.2018
Код:
([A-Za-z0-9]{5}-[A-Za-z0-9]{5}-[A-Za-z0-9]{5}-[A-Za-z0-9]{5}-[A-Za-z0-9]{5})
Re: Help regular expersion -
OneDay - 20.01.2018
PHP код:
(\w{5}-){4}\w{5}