Acme Packet (MOSC)

MOSC Banner

How to regex a system variable.

I am trying to get the first two characters of the built in variables $TO_PHONE and $FROM_PHONE. I have tried a couple of different things along the lines of this in the new value field of a header rule:


$REGEX("^.{0,2}", $TO_PHONE.$0)


Any one have any advice?

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