Solved

Lync regex translation rules.

Posted on 2014-09-08
2
482 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
In this video we show how to create a Shared Mailbox 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 Recipients >> Sha…
how to add IIS SMTP to handle application/Scanner relays into office 365.

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now