The following is a link to the .Net SDK reference for Regular Expressions.
Everything you need to know is there:
http://msdn.microsoft.com/library/de...xpressions.asp
In addition, there is a freeware Regular Expression tool called "Regex
Coach" that can help you test your Regular Expressions:
http://www.weitz.de/regex-coach/
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
"Showjumper" <sh*******@grkjashdjkf.com> wrote in message
news:e7**************@tk2msftngp13.phx.gbl...
I need a regulr expression that cn be used to find <a> tags with the href
attribute set to mailto:. I need to be to search out all the email
addresses in the text of the pages in a website. So for example i need to be able to
find <a href="mailto:me@mysite.com">Click Here</a> and just get the mailto
portion and then do a replace with an encoded email address. The replace
isnt the problem just not sure how to make a reg ex that will search out
the hrefs with mailtos.
Thanks for any and all help