Hi Team,
I wanted to capture Indian phone numbers from below text, someone please hep me here.
“business solutions manglore branch mobile number is +91 98765438963, Bangalore branch number is 9886535782
Texus HQ number is +1987 098 8756 and Mumbai Branch number is +91987634578”
hasib08
(Motiwala Hasib)
July 15, 2020, 10:21am
2
Which all number you want to extract only 10 digit numbers ?
Include +91 ?
Hi @Shaik.Yezdani
Below is the regex for all numbers :-
For business solutions manglore branch mobile number is +91 98765438963
Bangalore branch number is 9886535782
Texus HQ number is +1987 098 8756
Mumbai Branch number is +91987634578”
Hope this helps you.
Mark as solution and like it if this helps you
Happy Automation
Best Regards
Er Pratik Wavhal
@hasib08 i want the 10 digit numbers and numbers starts with +91
@Shaik.Yezdani Take a look at this regex expression as well :
Regular expression tester with syntax highlighting, explanation, cheat sheet for PHP/PCRE, Python, GO, JavaScript, Java, C#/.NET.
Hi, you can use (((+){1}91){1})? ?-?[987]{1}[0-9]{9,10}
It’s backslash +, not only +
Robott
(Sajid Younas)
July 16, 2020, 1:34pm
9
\+91(\s*|)\d{10}
after +91 should be 10 digits?
try above