Solved

Lync regex translation rules.

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

728 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