Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

Regex cheat card

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

Regex cheat card Match patterns, not just words. ^ start, $ end, . any, * repeat. -E for + ? | {n} and groups. Extract IPs only.
Regex cheat card · Download PNG
Read card text

What this card says

Why do we need it?

Match patterns, not just words.

What is it?

^ start, $ end, . any, * repeat.

How to do it

-E for + ? | {n} and groups.

Example

Extract IPs only.

grep -oE '[0-9]+(\.[0-9]+){3}' access.log

See all AWS revision cards