Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(?i)^(?:NPO|PRO|PCR|REQ|8)+(\d{7,8})(?!(\d))
"
gm

Description

Detects specific prefixes followed by number series

Submitted by anonymous - 3 years ago (Last modified 3 years ago)