Regular expression
Hi,
I'm going mad to create a regular expression that remove any space between the digits and add a 0 at the beginning of the string
Thank you very much
-
Hello Lorenzo,
I move this post to the "Help Assistance & Support" Topic.
Are you talking about the PBX numbering rules? Did you read our article about this feature?
Let me know if you need further information about this feature. -
Hi Quentin, thank you for your response.
I read the article but didn't find a solution. I made some test but I can't find a rule that delete any space between digits and add correctly a "0" at the leading.
Example to manipulate
051 7091 111
Regular expression
\p{Zs}(?=\d)
In this way I get "0517091111", but I don't mind the substitution to obtain 00517091111
-
Hi Lorenzo,
By default Rainbow delete some characters like "space" or "." when you dial a phone number. No need to Regular Expression to delete your space.
Concerning the second point: You can add a "0" automatically in your Equipment information. Try to activate the Outbound Prefix and set him as "0":
Could you please try to delete your Regular Expression and try with the Outbound Prefix?
Por favor, entrar para comentar.
Comentários
4 comentários