[SR-Users] Strip All but numbers/*/#
Ali Jawad
ali.jawad at splendor.net
Mon Feb 11 11:24:36 CET 2013
Hi
I am using the below to strip "-" from destination numbers, it does work
just fine "I replace - with nothing", what i need to do now is to strip all
characters except 0-9 * and #. Is there anyway to do it using the following
configuration part
if($rU =~ ".*-.*" )
{
$rU = $(rU{re.subst,/-//g});
}
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130211/d04c92da/attachment.htm>
More information about the sr-users
mailing list