I have a function that returns data in JSON and places it in certain places with jQuery. One of these data is text that contains a date range (Start and End).
Example of returned text:
ESPÍRITO SANTO - Status: This is how much the Brazilian has already paid taxes in the period from 01/01/2014 until 03/03/2014
In the above case I want to return only these two dates, 01/01/2014 and 03/11/2014.
I've already seen several examples in javascript of capturing texts between defined characters, but not capturing a text format (in this case a date) and returning just that.
So how can I return only these two dates? What function should I use?