Hands-on task
This task is step 7 of the course “Regular expressions”
Extract the numbers
From /root/mixed.txt extract all integers (one per line) into /root/nums.txt.
What you'll practise:
- grep
- regular expressions
- -oE
- quantifiers
- character classes