(?i)<(a{1}?)[^>]*href=[^>]*[>]?(.*?)(?:</\1|/)>{1}?
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.
"Homer J Simpson" <no****@nowhere.com> wrote in message
news:qW1tf.14341$6K2.14268@edtnps90...
"Lucky" <tu************@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
hi guys,
i'm looking for one RegEx which can find matches from the bunch of
lines. i want to find all the matches of "<a * href=*>*</a>". if any
one can help me out here, please do come forward.
"\<a * href=*\>*\</a\>" in MSWord
"\<a .* href=.*\>.*\</a\>" in Unix IIRC. Be aware this won't find "<a *
Href=*>*</A>"
VB Net may differ.