Hi,
I am using the following to match dates. This is matching any date in the specified format, but not preceded by the words like “Invoice Date” or “Billing Date” or “Statement Date” etc. as specified. If there are multiple dates, it is matching all. Can you help?
(?i)(?<=(Invoice|Billing|Bill|Statement)\s(Date|Issued)?\s*:?\s*)\s*([A-Za-z]+.?\s\d+,\s*\d+)|(\d{1,2}/\d{1,2}/\d{2,4})|(\d{1,2}-[A-Za-z]+-\d{4})
Thank you,