Acme Packet (MOSC)

MOSC Banner

Pattern match on NOT

I need to create a SIP manipulation to change the value of PAI when it does NOT match a range of numbers.


Example:

If PAI matches +8131234 followed by any 4 digits then it is a match DONT do anything.

If PAI does not match +8131234 followed by any 4 digits then change PAI to +81345670000


I tried using !\+8131234\d\d\d\ and !\+8131234[0000-9999]

but it did not do the NOT, which I thought the ! was for.


Anybody any suggestions on how to do a NOT match in a pattern ?

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