[OpenSIPS-Users] regex match
Vishal Pai
vishalmpai at gmail.com
Wed Oct 3 14:10:55 EDT 2018
Hello Everyone
Is it possible to do regex match in opensips configuration file?
Let's say we have 12125789000 and we have regex expression
^(\+1|1)?([2-9][0-9][0-9][2-9][0-9][0-9])([0-9]{4})$
then the result would be
Group #1: 1
Group #2: 212578
Group #3: 9000
Need to take Group #2 value in $var(x).
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20181003/4955a0b2/attachment.html>
More information about the Users
mailing list