Regular Expressions 101

Community Patterns

Library catalogue (VTECH V-Lib)

0

Regular Expression
Python

r"
^\s{7}([-A]?\d+)\s+((.|\n)*?)\n^\s{24}([A-Z]{0,2}\d{3}(\.\d+)?(\s(\w+))?)
"
gm

Description

Matches entries in a library catalogue.

Submitted by anonymous - 9 months ago