05.11.2017, 05:00
This would help you, as it contains regex expression examples which are pretty easy and will help you convert your script in few minutes.
https://sampforum.blast.hk/showthread.php?tid=616103
https://sampforum.blast.hk/showthread.php?tid=616103