Hands-on task
This task is step 30 of the course “Regular expressions”
Strip HTML tags
In /root/page.html there is text with HTML tags. Remove all tags (<...>), keeping only the text, writing the result to /root/plain.txt.
What you'll practise:
- sed
- regular expressions
- greedy quantifiers
- negated class
- substitution