Good afternoon guys from stackoverflow
I'm having to split the text I get from a return from an ajax. This my return has the following pattern
It starts with what will be the value, the rest will be the content of an option, ending in the queue or available positions, as the example below.
222/05/2017 a 26/05/2017 em Belo Horizonte - PaperCut MF Técnico Presencial (34 hrs) - Fila de espera307/08/2017 a 11/08/2017 em Belo Horizonte - PaperCut MF Técnico Presencial (34 hrs) - Vagas disponíveis
How can I do this division ... I am without ideas, I only need the logical reasoning for this ...