Regular Expressions 101

Community Patterns

Your search did not match anything

Community Library Entry

1

Regular Expression
Python

r"
^(\d\d)\d\d$
"
gm

Description

Replaces the last two digits of any four digit number with 99. Useful for replacing chart of account codes for accounting software mapping functionalities. Helpful for ProPay.

Submitted by Eric Higdon - 3 months ago (Last modified 3 months ago)