back to labs
Regex: IPv4 Address Pattern
MediumRegular Expressions5-10 minThe brief
Extract every IPv4 address from /root/work/access.log into /root/work/out.txt, one per line.
An address is four dot-separated octets of one to three digits each. Output the addresses alone, not the log lines containing them.
What you'll do
- out.txt holds each IPv4 address, one per line
Hands-on lab: you work on a real Linux box in your browser, graded on the machine's actual state.
