I have to read mobile numbers from the text file . I dont have the font type of text file so i am not able to read anything from it but the mobile numbers are coming fine. So i have to read those mobile numbers. I thing the best way is to use regular expression.
There are three type of formats of mobile numbers:-
- 9929017726
- 09896844430
- 098968-72859
Please help me on this.
You can use this regex to extract the mobile numbers: