I have an input file which contains some start dates and if those dates are before a specific date 1995-01-01 (YYYY-MM-DD format) then replace the date with the minimum value e.g.
<StartDate>1970-12-23</StartDate>
would be changed to
<StartDate>1995-01-01</StartDate>
<StartDate>1996-05-12</StartDate> is ok and would remain unchanged.
I was hoping to use regex replace but checking for the date range isn't working as expected. I was hoping to use something like this for the range check
\b(?:1900-01-(?:3[01]|2[1-31])|1995/01/01)\b
