Click here to Skip to main content
15,888,984 members
Articles / Web Development / HTML

Regular Expression to Extract Inner Text from Anchor Tags

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
8 Feb 2011CPOL 43.8K   3  
How to extract the text from a hyperlink and preserve other HTML tags
In this post, you will see a simple regular expression to execute the task of extracting text from a hyperlink and preserving other HTML tags.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
I have over 10 years of experience working with Microsoft technologies. I have earned my Microsoft Certified Technology Specialist (MCTS) certification. I'm a highly motivated self-starter with an aptitude for learning new skills quickly.

Comments and Discussions