I have an attribute table that contains in a field/slot called "Description" data like this:
<b>xyz: 11.02.2016 04:05 - 14.02.2016 04:03</b><br/><br/>0 km/h, 0 hauk/min , ODO 0m <b>xyz: 01.03.2016 04:01</b><br/><br/>0 km/h, 0 hauk/min , ODO 0m 0 km/h, 0 hauk/min , ODO 0m
In two of these three samples is a date and a time. Actually the first one has a time period.
I want to automatically extract the substrings that contain this data and if this data is not included like in the last sample then nothing should be extracted.
I was thinking that everything between > (from
<b>) and < (from
</b>) could be extracted.
How can I achieve that?
Please note that I have no coding experience with Qgis Python. I recently started to learn Python 3 online, but in Qgis Python is different. I use QGIS 2.12.