且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从word文档中获取手机号码

更新时间:2023-02-21 14:47:29

阅读文档比较单词



电子邮件:



正则表达式正则表达式=新正则表达式(@^ [\ w!#


%&'* + \ - / =?\ ^ _` {|}〜 ] +(\ [\w#

%安培;!?'* + \ - / = \ ^ _` {|}〜] +)*

+@

+ @((([\-\w] + \。)+ [a-zA-Z] {2,4 })|(([0-9] {1,3} \){3} [0-9] {1,3}))

Respected Sir/Madam:

This is satya. I have a problem plz send me code or some guide lines.. coming to the task i.e

How to get email id's and mobile number when users upload a resume into the form. I am waiting your response ..


Regards
k.satya..

Read the word Document Compare with

For Email :

Regex regex = new Regex(@"^[\w!#


%&'*+\-/=?\^_`{|}~]+(\.[\w!#


%&'*+\-/=?\^_`{|}~]+)*"
+ "@"
+ @"((([\-\w]+\.)+[a-zA-Z]{2,4})|(([0-9]{1,3}\.){3}[0-9]{1,3}))