03-07-2012 10:38 PM - edited 03-16-2019 10:00 AM
What can be the best (or one) translation rule for above-mentioned numbers
Solved! Go to Solution.
03-08-2012 12:20 AM
Since last digit is not used for the matching. It will remain intact. For example
/^441021\([5679]\)$/ /31\1/
44102152
Result would be 3152.
31 because we are adding it
5 because we are using \1
2 because it is not matched in above rule , so will remain intact.
Regards
Ronak patel
03-07-2012 10:50 PM
HI
I could not find any sequence so best can be
You can use
/^441021\([5679]\)$/ /31\1//^441021\([203]\)$/ /32\1//^44102104$/ /3304/
Regards
Ronak Patel
03-07-2012 11:59 PM
/^441021\([5679]\)$/
underlined part of translation rule will select one digit or two digit.
03-08-2012 12:01 AM
one digit..Also I had type mystake. Please remove $ from 1 and 2 rule.
03-08-2012 12:13 AM
There are total 8 digits first six are 441021 then one selected by underlined part. what about last digit
it means last digit will not be mentioned if underlined part of translation rule will select one digit.
03-08-2012 12:20 AM
Since last digit is not used for the matching. It will remain intact. For example
/^441021\([5679]\)$/ /31\1/
44102152
Result would be 3152.
31 because we are adding it
5 because we are using \1
2 because it is not matched in above rule , so will remain intact.
Regards
Ronak patel
03-08-2012 12:25 AM
Thanks!!!
Can you help me https://supportforums.cisco.com/message/3581786#3581786
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