Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^(?:(?P<unitType>\bUNIT|APARTMENT)\s(?P<unitNumber>\d+)\s?)?
"

Description

PSMA interview code challenge

Submitted by anonymous - 5 years ago