Regular Expressions 101

Community Patterns

CSB34 Account header

0

Regular Expression
PCRE (PHP <7.3)

/
(?<record_code>11)(?<bank_code>[0-9]{4})(?<branch_code>[0-9]{4})(?<account_number>[0-9]{10})(?<start_date>[0-9]{6})(?<end_date>[0-9]{6})(?<initial_balance_code>[1-2]{1})(?<initial_balance_amount>[0-9]{14})(?<currency_code>[0-9]{3})(?<information_mode_code>[1-3]{1})(?<abbreviated_name>[a-z A-Z0-9]{26})(?<client_code>[0-9 ]{3})
/
gm

Description

no description available

Submitted by anonymous - 4 years ago