back to labs
Regex: Specific Repetition {n}
MediumRegular Expressions5-10 minThe brief
Extract every three-digit code from /root/work/codes.txt into /root/work/out.txt, one per line.
Every number in the file is a 3-digit area code, so each should come out whole. Output the codes alone, not the lines containing them.
What you'll do
- out.txt holds each 3-digit code, one per line
Hands-on lab: you work on a real Linux box in your browser, graded on the machine's actual state.
