Regular Expressions 101

Community Patterns

Paystub Basic Salary

1

Regular Expression
Python

r"
^0001[\s]*(.*?)[\s]*([\d,.]*)[\s]*(\d{6})
"
gm

Description

Extract Amount and Date from Paystub

Submitted by MAJED MUSA GHANIM - 2 years ago