08-03-2022 07:39 AM
Hi -
Do anyone have an informational link describing the voice translation rules? I need to get a better understanding on how the syntax is used. I already understand rule # /123/ /567/ which says match 123 and replace it with 567.
It's this that I need to understand.
rule 1 /^9\(.*\)/ /\1/
what is the upper carrot? I dont understand what this is saying.
Solved! Go to Solution.
08-03-2022 08:25 AM - edited 08-03-2022 08:29 AM
This document should explain what you need to know.
The ^ character means start of string. So your example rule says that it starts with a 9 and then are an indefinite number of more digits that follows in the match part, aka left side. Then on the right hand side it refers to what was copied into memory on the left hand side within the parentheses with the \1. So the result of this rule will be to drop the 9 in the beginning of the phone number.
08-03-2022 08:25 AM - edited 08-03-2022 08:29 AM
This document should explain what you need to know.
The ^ character means start of string. So your example rule says that it starts with a 9 and then are an indefinite number of more digits that follows in the match part, aka left side. Then on the right hand side it refers to what was copied into memory on the left hand side within the parentheses with the \1. So the result of this rule will be to drop the 9 in the beginning of the phone number.
08-03-2022 08:44 AM
thank you the link you provided explains the syntax.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide