It worked fine for me for the task as follows. The Phone numbers in a table in two fields as shown in the below example was required to be changed as follows.
from +1 (250) 813 3241 to +1-250-813-3241
from 553599112 to +966-55-3599112
I took the below steps:
1. Used the function fnStripNonnumericChars to remove non numeric characters from the strings.
2. Updated the values as required.
Thanks for the marvellous creation.