11-23-2009 07:58 AM - edited 03-13-2019 06:46 PM
I have a Cisco 2851 router and I need to chop off the first digit in the incoming
called number string (e,g 272109 translate to 72109).
I have tried using rule 1 /^.*\(..\)/ /\1/ but I cannot get this to work, keeps saying it is an incomplete command.
Can anyone help please
11-23-2009 08:21 AM
Are the numbers always the same length? If so, you can use the following rule to keep the last 5 digits.
voice translation-rule 1
rule 1 /^.*\(.....\)/ /\1/
Hope this helps.
Brandon
11-23-2009 03:08 PM
rule 1 /^./ //
Remember: what is unmatched, stays unchanged.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide