How to set a mask for mail and phone while searching in an html document?

0 like 0 dislike
3 views
Hello. Scab sites fantomom. Need to collect all the emails and phone numbers in different formats and different quantitative sites. Unable to parse in php and js. Where better, and some kind of mask in the regular season to use. Advise.
by | 3 views

1 Answer

0 like 0 dislike
use standard masks, now things has long been written and its nothing you need to do:
email^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$
phone - ^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\\s\\./0-9]*$
what language too, no matter to what use you like that and try and use it! they equally find what you need.
by

Related questions

110,608 questions
257,186 answers
0 comments
28,644 users