?
Solved

Lync regex translation rules.

Posted on 2014-09-08
2
Medium Priority
?
537 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
Sapa earned 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
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 …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses
Course of the Month14 days, 13 hours left to enroll

770 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