Regular Expressions 101

Sponsor⁠s

Community Library

Community Library Entry

1

Regular ExpressionOpen Workspace

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

Description
Created·2025-08-14 17:59
Updated·2025-08-14 18:00
Type·Substitution
Flavor·Python

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
Open Workspace