Hands-on task
This task is step 12 of the course “Regular expressions”
Hashtags
From /root/post.txt, extract all hashtags (words starting with #) into /root/tags.txt.
What you'll practise:
- grep
- regex
- character class
- character ranges
- hashtags