views:

92

answers:

2

Hi,

I need a way to get all text from my aspx files. They may contain javascrip also but I only need this for the HTML code.

Basically I need to extract everything on Text or Value attributes, text within code, whatever...

Is there any parser API available?

Cheers! Alex

A: 

Have a look at this post: Looking for C# HTML parser

Paolo Tedesco
A: 

As an alternative, you might consider playing with Linq to XML to strip the interesting stuff out.

Murph