Acme Packet (MOSC)

MOSC Banner

Regular expression help

edited Sep 6, 2012 3:50PM in Acme Packet (MOSC) 2 commentsAnswered ✓

Hi,

 

 I'm still studying regular-expressions and I'm testing the following pattern rule;

 

acme-1(test-pattern-rule)# show
Pattern Rule:
        Expression : ^[^;]+
        String     : +99388835011;tgrp=1-1;trunk-context=ent0388835000
        Matched    : TRUE
        Matches:
$0 +99388835011

 

I'd like to get rid of the "+" in the result and would like to see 99388835011 as a result . Could somebody help me to develop an expression  for this purpose.

 

Thanks in advance;

 

Serkan

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center