I am doing data extraction from pdf. However, I faced trouble in extracting one of the data.
The full line of the sentence is "Please note that if we do not receive your payment by 21 December 2020, a Notice to Attend Court may be issued " and I need to extract the date.
By using Substring, I managed to extract the date(21 December 2020), but the subsequent text (, a Notice to Attend Court may be issued ) also be extracted. I tried using replace and remove but both of them were failed.
So, could I know is there any alternative solution to solve it?
Hi, you first need to go to Imports section and import System.Text.RegularExpressions this will allow you to work with regular expressions. See attached screenshot. This will work as long as you date format did not change.