如何从word文档中获取手机号码 [英] How to get mobile number from word document

查看:675
本文介绍了如何从word文档中获取手机号码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的先生/女士:



这是satya。我有一个问题PLZ发送给我代码或一些指导线..来到任务即



如何在用户上传简历时获取电子邮件ID和手机号码形成。我在等你的回复..





问候

k.satya ..

解决方案

阅读文档比较单词



电子邮件:



正则表达式正则表达式=新正则表达式(@^ [\ 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}))


这篇关于如何从word文档中获取手机号码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆