Hands-on task
This task is step 21 of the course “Regular expressions”
Extract CamelCase Words
From /root/code.txt extract all identifiers in CamelCase (words where an uppercase letter appears in the middle, for example getUserName) into /root/camel.txt.
What you'll practise:
- regular expressions
- grep -oE
- character classes
- quantifiers
- camelcase