Regex to Remove HTML Tags
Search Website: Extended
Home

Certifications


Cisco


IP


PC


Protocols


RemoteAccess


Resources


Security


Telecommunications


Tools


Unix


Web


mindterm






Regex to remove HTML Tags

A friend of mine asked for a regex to remove all HTML tags from a webpage and to leave everything else, including what's between the tags and this is the regular expresion that I came up with for him:

s/<[a-zA-Z\/][^>]*>//g



This page was created in 0.00079 seconds
Comments and Questions
Last modified: May 28 2007.