[SR-Users] Substitution Regex

Duarte Rocha duarterocha91 at gmail.com
Mon Sep 24 19:32:09 CEST 2018


Greetings,

I'm using subst_hf() function to do some search and replace and i want to
identify a undifined amount of digits after a string (ex: string=123123).
Everywhere i look, the right way seems to be \d so i'm doing
subst_hf("Via","/;string=\d/substitution_string/", "a");

It doesn't seem to work. Any ideas why?

Best Regards,

Duarte Rocha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180924/c85c99e7/attachment.html>


More information about the sr-users mailing list