Jump to content

How to parse a word document


roshgorg

Recommended Posts

How can we parse a word document using asp.net and c#.

The question I have is with respect to parsing a word document, say a resume, to read the contents like name and email address. For this, I have an idea, but not sure of how to implement it. Can someone help me on this?My idea is:

-Take the first line, if there are two or more words (other than curriculum vitae)separated by a single space or using a period(.) followed by a space, it is a name.

-Take the second line, if there are two or more words separated by a single space or using a period(.) followed by a space, it is a name.

-Consider the last line, if there are two or more words separated by a single space or using a period(.) followed by a space, it is a name.

-Consider the second last line, if there are two or more words separated by a single space or using a period(.) followed by a space, it is a name.

 

I know how to read tellno and email using patters, but, I dont know how to implement finding out the name. Is there any idea ?

  • Like 1
Link to comment
Share on other sites

  • 1 year later...
  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...