cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
368
Views
5
Helpful
0
Replies
Beginner

CMS 2.0.11 Configure Space Format

Working on configuring our Secondary URI user part and call ID.  We have configured E.164 dial plan, so our ipPhone field in Active Directory are +15551235678 format.  Anyone have the Regex so we can get the Spaces formatted as 5551235678?

Here is what I've tried so far:

$ipPhone|'/\+1(\d{10})/\1/'$

$ipPhone|'/(^..)(\d{10}+)/\2/'$

Both turn the full E.164

Also tried both with the 'g' option.

Thanks for any assistance

GW

Never mind....completely overthought that one.

$ipPhone|'/\+1//g'$

Works great

GW

Everyone's tags (1)
CreatePlease to create content
Content for Community-Ad
FusionCharts will render here