RegularExpretion for negation of expression?

  • Thread starter Thread starter Evgeny Zoldin
  • Start date Start date
E

Evgeny Zoldin

High ALL,

in MSDN for .NET is the following:

[^aeiou] Matches any single character not in the specified set of
characters.

Is it possible to constract Regular Expression that will do something like
this:

^<EXPR> Matches any expression (sequence of symbols)
does not equal the given <EXPR> ??

E.g., for part of HTML code
"<td...>.....<td...>....</td>....</td>"
RegExp "<td[^>]*>.*?</td>"
matches HTML-code from the "outer TD"-"opening tag" till "inner TD"-"closing
tag". But I want to get the inner complete TD only.
Will be appretiate for any help.
Thanx
Evgeny
 

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