Regular Expressions 101

Community Library Entry

1

Regular Expression
Python

r"
(^-?)(3276[0-8]$|327[0-5]?[0-9]$|32[0-6][0-9]?[0-9]$|3[0-1]?[0-9]{,2}[0-9]$|[0-2]?[0-9]{,3}[0-9]$)
"
gm

Description

"(^-?)(3276[0-8]$|327[0-5]?[0-9]$|32[0-6][0-9]?[0-9]$|3[0-1]?[0-9]?[0-9]?[0-9]$|[0-2]?[0-9]?[0-9]?[0-9]?[0-9]$)"gm

Submitted by issam-seghir - 3 years ago (Last modified 3 years ago)