For the upcoming app I’m working on I need a way to easily detect dates the user may have typed at the end of a line. It was time to re-visit old faithful regex. After lots of readings and tests I ended up settling on this beauty: “.*[0-9]{2}/[0-9]{2}” Here’s what it does: The …
Continue reading “Identifying combinations of dates in text using regex”