Hi guys, I would like to extract the month and year as shown in the picture. However, i’m trying to loop the process and I’ve been trying to use the term bill which is the common word after the month and year which always changes, how do I craft the regular expression?
Hi,
How about the following pattern?
[A-Za-z]+\s*\d{4}(?=\s*Bill)
Thank you so much, it worked!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.