Hello,
How can I detect phone number that is spelled out, like “212-POISONS”, as POISONS should be changed to number in our translation?
Thanks.
Hello,
How can I detect phone number that is spelled out, like “212-POISONS”, as POISONS should be changed to number in our translation?
Thanks.
Do you have any common format for that, like a constant number of digits, followed by a dash, followed by a constant number of letters?
You can try with the following:
<(([0-9]+)-)+[A-Z\-]+>
On
Off
This should find segments that contain for example 1-800-CALL-ME-NOW or 123-ABDCE.
Additionally, if you wish to find segments that do not have the spelled out phone numbers changed to something else in target, you can use:
"(<(([0-9]+)-)+[A-Z\-]+>)=1"
"@1"
On
On
Note: The above double quotes in source and target are needed because it is a Powersearch expression.