The thing is that I’m working with different and larger texts. In all of them, the words “Espacio aéreo:” and “Clase” remain in the same way. However, “ATZ GCXO” and “D” changes between texts. So, I want a Pattern that can extract the words between Espacio aéreo and Clase, ignoring the rest of words.
A part of this big text is, for instance:
Expediente
001/19
INCURSIÓN EN PISTA
Fecha del incidente
10/01/2019
INFORMACIÓN DISPONIBLE PARA EL ANÁLISIS
Extracto Desidentificado de Notificación de la Aeronave 1.
Audios.
Datos Radar.
Información del AIP: AD 2 –GCXO -GMC.
Informe RAT.
Hi,
I try it but, the problem is that it doesn’t recognize the part of the text that I want. It’s a large text and, inside it, I want to extract with a Pattern everything that is between “Espacio aéreo:” and “Clase:”
Hi,
It works, yeah! Thanks a lot.
And, I will appreciate if you can help me extracting another information.
In the longer text above, I want to extract the information “INCURSIÓN EN PISTA” which change between many texts that I’m working with. The thing is that before this information, “001/19” has always the same format “[01]…/1.” and the words after “Fecha del incidente” don’t change.
Therefore, I was trying to extract it with this Pattern “(?<=[01]…/1.\s*)[^Fecha]*(?=Fecha)”. However, it doesn’t work.