Solved

Lync regex translation rules.

Posted on 2014-09-08
2
516 Views
Last Modified: 2014-09-08
Hi,

I need to write a regex in Lync to do the following. I have a range of extension 2000 - 2499

I want to convert to

0800 1234xxx

so the regex needs to match on all 4 digits but then strip the first and append 08001234 on to the front

I can build a simple expresion in Lync and chose to remove a digit, but not one that will only pick out 2000-2499.

Or I can build a regex that matches exactly what I want, but then you don't get an opportunity to remove a digit?

Any suggestions?
0
Comment
Question by:Aaron Street
2 Comments
 
LVL 5

Accepted Solution

by:
Sapa earned 500 total points
ID: 40311022
Pattern:

^\d(\d{3})$

Translation:

08001234$1
0
 
LVL 16

Author Comment

by:Aaron Street
ID: 40311061
Ahh I see its he () that dictate the capture part :)

Sorry my regex is not good.

thank you
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question