2
Contributors
2
Replies
4
Views
5 Years
Discussion Span
Last Post by koricha
0

It removes html/xml style tags from the input file.

s/      # Search for ...
<       # Something that begins with '<'
[^>]    # and continue while there isn't a '>'
*       # for zero-or more characters
>       # Ending with a '>' character
//      # replace previous match with the empty string
g       # do this globally for each line

This matches (and removes) things like <tag parameter=value> ro <html> .

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.