Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^\#\s*(\d+)\s*
"
gm

Description

"id": "P1", "description": "starting with # and then digits and then one or more spaces", "regex": "^\#\s*(\d+)\s*", "inputField": "preProcessedMerchantName", "outputField": "cleanMerchantName", "trimOutput": "true", "transformation": "T1"

Submitted by anonymous - 5 years ago