<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#42392c" bgcolor="#ffffff">
    <font size="+1"><font face="Cantarell">Hello Johan,<br>
        Huge thank you that resolve the issue.<br>
        <br>
        volga629<br>
      </font></font><br>
    <div class="moz-cite-prefix">On 2/2/21 12:58 PM, Johan De Clercq
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEVWGm8+vh0FA6_-Sf=tc1AFEELvp9cNzPS=age8Zu4WCu-7QA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>if your expression means : any number of digits, then try
          something like below: <br>
        </div>
        <div><br>
        </div>
        <div>try ([0-9]*)([A-Z]*)([0-9]*)</div>
        <div><br>
        </div>
        <div>replace with \1\3. <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">Op di 2 feb. 2021 om 17:45
          schreef volga629 via Users <<a
            href="mailto:users@lists.opensips.org"
            moz-do-not-send="true">users@lists.opensips.org</a>>:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div bgcolor="#ffffff"> Hello Everyone,<br>
            Here are some test result <br>
            <br>
            Feb  3 00:38:46 voice-proxy /usr/sbin/opensips[1337808]:
            [REQ_ROUTE] [INVITE] got incorrect 1506855JMGTJ4566
            adjusting...<br>
            Feb  3 00:38:46 voice-proxy /usr/sbin/opensips[1337808]:
            [REQ_ROUTE] [INVITE] new username -> [1506855JMGTJ4566]
            ~> 1506855<br>
            <br>
            As you see digits on the end got lost.<br>
            <br>
            volga629.<br>
            <br>
            <div>On 2/2/21 11:47 AM, volga629 via Users wrote:<br>
            </div>
            <blockquote type="cite"> <font size="+1"><font
                  face="Cantarell">Hello Everyone,<br>
                  I am trying clean up with dialplan  any characters
                  from $rU except digits.<br>
                  I tried regex rule<br>
                  <br>
                  Matching Regular Expression <br>
                   ([0-9]*)<br>
                </font></font><br>
              <font size="+1"><font face="Cantarell">Substitution
                  Regular Expression<br>
                  ([0-9]*)<br>
                  <br>
                  Replacement Expression<br>
                  \1<br>
                  <br>
                  <br>
                  Example: <br>
                  fhgg592199477719hh#<br>
                  <br>
                </font></font><font size="+1"><font face="Cantarell">I
                  see that rule match regex, but rewrite is not
                  happening.<br>
                  <br>
                  Any help thank you.<br>
                  <br>
                  volga629.<br>
                </font></font> <br>
              <fieldset></fieldset>
              <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
            </blockquote>
            <br>
          </div>
          _______________________________________________<br>
          Users mailing list<br>
          <a href="mailto:Users@lists.opensips.org" target="_blank"
            moz-do-not-send="true">Users@lists.opensips.org</a><br>
          <a
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>