cancel
Showing results for
Did you mean:
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

## translation rule for DID

• 44102152 à 3152
• 44102160 à 3160
• 44102153 à 3153
• 44102171 à 3171 (one can be like /^2171/ /3171/)
• 44102128 à 3228
• 44102101 à 3201
• 44102130 à 3230
• 44102194 à 3194
• 44102104 à 3304

What can be the best (or one) translation rule for above-mentioned numbers

Everyone's tags (7)
1 ACCEPTED SOLUTION

Accepted Solutions
Blue

## Re: translation rule for DID

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

Regards Ronak Patel Rate all helpful post by clicking stars below the answer.
6 REPLIES
Blue

## translation rule for DID

HI

I could not find any sequence so best can be

You can use

```/^441021\([5679]\)\$/ /31\1//^441021\([203]\)\$/ /32\1//^44102104\$/ /3304/RegardsRonak Patel

```
Regards Ronak Patel Rate all helpful post by clicking stars below the answer.
New Member

## translation rule for DID

`/^441021\([5679]\)\$/`

underlined part of translation rule will select one digit or two digit.

Blue

## Re: translation rule for DID

one digit..Also I had type mystake. Please remove \$ from 1 and 2 rule.

Regards Ronak Patel Rate all helpful post by clicking stars below the answer.
New Member

## translation rule for DID

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.

Blue

## Re: translation rule for DID

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

Regards Ronak Patel Rate all helpful post by clicking stars below the answer.
New Member

751
Views
4