Regular Expressions 101

Library entries

Check a date in an invoice

Vote

0

Regular Expression
python

'
(Invoice )([0-9]+)([A-Za-z\s*]+)([A-Z][a-z\s]+[0-9\s]+[0-9]+\s*\-\s*[A-Z][a-z]+ [0-9]+ [0-9]+|[0-9\s]+[A-Z][a-z\s]+[0-9]+\s*\-\s*[0-9\s]+[A-Z][a-z\s]+[0-9]+)(.+)([A-Z][a-z]+ [0-9]+ [0-9]+)\.
'
g

Description

Loading markdown...
Submitted by anonymous - 5 years ago