Regular Expressions

  • Thread starter Thread starter Roman
  • Start date Start date
R

Roman

I need to string an html string of html tags using regular expression
substitution or substring assignment. Is there a method withing a
String class I need to use or perhaps another class? Any samples would
be appreciated.

Thanks in advance,
 
Roman,

Have you considered using a parser instead? The interaction with the
object model might be much, much easier.

Hope this helps.
 
Roman,

C# has pretty good support for Regular Expressions, if you think the is the
best method to solve your problem.

Look into the System.Text.RegularExpressions namespace for the classes that
will help you.

The static method Regex.Replace(...) is what you are looking for.

-Louis
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top