Regex Serial Number Game Online

0 votes
asked Dec 13, 2014 by Sin An
Tolong dibantu SN Container & SN Body untuk replay:
GS10.085745275955.Hrg=9200 berhasil, SN: QVFHP-HDUFP-BGUBU-CQ4DT-KDXMH. Saldo Rp. (Awal 4274555 Akhir 4265355).
GS30.085859738991.Hrg=27250 berhasil, SN: QV0TV-I8UF1-BGUXN-4V174-25GWD. Saldo Rp. (Awal 4159855 Akhir 4132605).
GS20.087757602536.Hrg=18200 berhasil, SN: QV3TP-T7U7T-CGU3J-5F8H4-1DBHY. Saldo Rp. (Awal 3782105 Akhir 3763905).

Saya udah masukkan seperti ini tapi masih ttap gak kebaca SN nya.
SN: ([a-zA-Z0-9-]){1,}

1 Answer

0 votes
answered Dec 13, 2014 by ilham (5,050 points)
edited Dec 15, 2014 by ilham

Halo Pak,

Container
SN\:\s([a-zA-Z0-9\-]){1,}

Body
([a-zA-Z0-9\-]){1,}

([\w\d]{5}\-?){1,}

Perhatikan ada karakter backslash "\" sebelum karakter ":", spasi dan "-". 

Welcome to Support Voucha, where you can ask questions and receive answers from other members of the community.
...