I have a pdf file which i parsed using "pdfparser" plugin. From the text of the pages i need to find first date after a specific string (search string). I can find the search string and for date extraction i used
date_parse($string)
it extracts the date, month fine but i think due to the large string (with some more dates, numbers) it didn't populate the correct year, it gives a random number which is not even present in doc.
Is there any other way to get that date . Following is the example string.(it has more date after the date)
Satisfaction of the mortgage from Karen Ann Lewis,a single woman to Bank of America, N.A. recorded March 4, 2004