Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^\w\d\w?\.\w*$
"
gm

Description

Validates if a string is a ec2 machine valid instance type.

Submitted by https://github.com/DEADSEC-SECURITY - 2 years ago