17062017 7.89 11-13-20 DOE JANE A 17062108 7.63 11-13-20 DOE JOHN B
This comes from a pdf with two columns of data. I need to get all numerical data before the names. Names are not always the same length but have a space before and after. Dates do not always end in 20 - could be 19 or 21, or moving forward 22. The first set of numbers - transaction ID is currently 8 characters but can expand moving forward and not all of the transaction IDs start with “1”. The dates, however, will allways be /XX for the year. I have tried splitting the string but am having disjointed luck. Working through regex but having similar difficulty…ideas?
did that but I want to exclude the second set of values if it is preceded by the 4. So, here my match regex would not capture the 17058187 58.02 10-27-20 but only the 17057908 9.00 10-19-19. I did the pattern you show to exclude the digit 4 but I want to exclude everything that follows if there is a digit 4(space) or 5(space)
I was just typing that I solved using the Negative Lookbehind as you posted your help! Thank you so much! Sometimes just talking it through to someone besides the voices in my head helps! I owe you dinner!..Chris