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
 
Back
Top