Genesys Cloud - Main

 View Only

Sign Up

  • 1.  Number Plans Match Data and Normalized format data for User Specific Dial Plan

    Posted 08-09-2025 08:16
    Hello Everyone,
     
    Hope all are doing Good. I tried to create dial plan with Match Type Regular Expression. I am Confusing to create User specific  Match Data with Normalized format data. Example I need to create dial plan for allow start number 967. I added Regular exception for that ^(967[1-9]\d{7})$ corresponding Normalized format data $0 but not working. sample like ^\+?(1)[1-9]\d{10}$  for log distance with format data $0 but not working. I can't understand $0$1 in the normalized format data to corresponding Match Data. Please Assist any one for this.


    #DigitalChannels
    #Routing(ACD/IVR)
    #SystemAdministration
    #Telephony

    ------------------------------
    Regards,
    Shenbagamoorthy B
    TechLead
    Pointel Inc.,
    ------------------------------


  • 2.  RE: Number Plans Match Data and Normalized format data for User Specific Dial Plan

    Posted 08-11-2025 11:29

    Hello Shenbagamoorthy,

    Can you give me an example number that you are trying to match? The regex sample that you posted is looking for a 1, any number from 1 to 9, and then 10 more digits.



    ------------------------------
    Jason Kleitz
    Online Community Manager/Moderator
    ------------------------------



  • 3.  RE: Number Plans Match Data and Normalized format data for User Specific Dial Plan

    Posted 08-11-2025 12:43

    Hello Jason Kleitz,

    Thank you for your response. Example one Local number allow starting from 967  like 967-002-9876. And another example One more Long Distance Code like +1 800-987-6543



    ------------------------------
    Regards,
    Shenbagamoorthy B
    TechLead
    Pointel Inc.,
    ------------------------------



  • 4.  RE: Number Plans Match Data and Normalized format data for User Specific Dial Plan
    Best Answer

    Posted 08-11-2025 16:26

    It sounds like you are asking what $0, $1, $2 etc., matches?

    $0 matches the whole expression

    $1 matches the expression within the first set of parentheses

    $2 matches the expression portion within the second set of parentheses

    etc.

    Take a look at the following pages as well:

    https://help.mypurecloud.com/articles/regular-expression-language-quick-reference/

    https://help.mypurecloud.com/articles/regular-expression-match-and-replace-examples-for-external-trunk-number-transformation/



    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME, ICCE, ICHD, etc.
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------