Clipboard and regex
Posted: 02 Jan 2017 02:16
I used to copy phone numbers many times a day. Phone number is formatted like this
+91 99 37 024365
+919937024365
+91 99370 24365
99370 24365
+91 is country code.
I like to have result as 9937024365.
I have little idea how to use scripting but want help with regex
Like if clip_data mathes regex.
+91 99 37 024365
+919937024365
+91 99370 24365
99370 24365
+91 is country code.
I like to have result as 9937024365.
I have little idea how to use scripting but want help with regex
Like if clip_data mathes regex.