mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-21 18:36:31 +00:00
Enhance - number translation (#2780)
couple of new profiles based on feedback
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
<profile name="strip_nondigits" description="Remove anything that is not [0-9a-fA-F#*]">
|
||||
<rule regex="^[^0-9a-fA-F#*]*([0-9a-fA-F#*]+)[^0-9a-fA-F#*]*([0-9a-fA-F#*]*)[^0-9a-fA-F#*]*([0-9a-fA-F#*]*)[^0-9a-fA-F#*]*([0-9a-fA-F#*]*)[^0-9a-fA-F#*]*([0-9a-fA-F#*]*)[^0-9a-fA-F#*]*([0-9a-fA-F#*]*)[^0-9a-fA-F#*]*([0-9a-fA-F#*]*)[^0-9a-fA-F#*]*([0-9a-fA-F#*]*)[^0-9a-fA-F#*]*([0-9a-fA-F#*]*)[^0-9a-fA-F#*]*$" replace="$1$2$3$4$5$6$7$8$9"/>
|
||||
<rule regex="^(.*)$" replace="$1"/>
|
||||
</profile>
|
||||
@@ -0,0 +1,4 @@
|
||||
<profile name="strip_symbols" description="Remove anything that is [^ (){}_-]">
|
||||
<rule regex="^[ (){}_-]*([^ (){}_-]+)[ (){}_-]*([^ (){}_-]*)[ (){}_-]*([^ (){}_-]*)[ (){}_-]*([^ (){}_-]*)[ (){}_-]*([^ (){}_-]*)[ (){}_-]*([^ (){}_-]*)[ (){}_-]*([^ (){}_-]*)[ (){}_-]*([^ (){}_-]*)[ (){}_-]*([^ (){}_-]*)[ (){}_-]*$" replace="$1$2$3$4$5$6$7$8$9"/>
|
||||
<rule regex="^(.*)$" replace="$1"/>
|
||||
</profile>
|
||||
Reference in New Issue
Block a user