Hi Liviu,

Thats perfect - didn’t even think of that! [0-9] instead of \d works great.

Thanks again!


> On 29 Jul 2020, at 14:14, Liviu Chircu <[email protected]> wrote:
> 
> I would guess that the PCRE library does not support the "\d" literal, which 
> also seems to be confirmed by this site [1].  The 
> "/\+?[0-9]{5}([1-9][0-9]+)/\1/g" regexp should remove your tech prefix as 
> expected.
> 
> BR,
> 
> [1]: https://www.regular-expressions.info/shorthand.html 
> <https://www.regular-expressions.info/shorthand.html>

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to