Hello guys
I need help with sed and regular expressions.
I have an input file containing text with html formatting.
I have to import this file into another program that respects only </br> tag.
I need to clean all html tags except
and variations of it, before importing this file.
All kind of br-s have to become </br>.
something like that:
1.
,
,</br> ... => </br>
2. "<whatever tag withot </br> >" => ""
How could i do it using sed?
I need help with sed and regular expressions.
I have an input file containing text with html formatting.
I have to import this file into another program that respects only </br> tag.
I need to clean all html tags except
and variations of it, before importing this file.
All kind of br-s have to become </br>.
something like that:
1.
,
,</br> ... => </br>
2. "<whatever tag withot </br> >" => ""
How could i do it using sed?