Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
10\.\d+\.\d+\.\d$
"
gm

Description

An expression to match 10.*.*.X IP Addresses.

Examples

  • 10.10.10.2
  • 10.0.0.5
  • 10.255.255.9
Submitted by meowmeow - 2 years ago