Hi,

We work a lot with gpx files created with theĀ  Locus App on Android.

Unfortunately, the "desc" field is created with html tags (for whatever reason), so it is quite a tedious work to extract the plain text informations out of it.

Does anyone know a way how to get rid of the html and only preserve the plain text informations?

Example:

<!-- desc_gen:start -->
<font color="#ff000000"><table width="100%"><tr><td width="100%" align="center">
<!-- desc_user:start -->
This is the information I would like to keep
<!-- desc_user:end -->
</td></tr><tr><td><table width="100%"></table></td></tr></


Is the e.g. a way to search for < and > and then delete them an all text within programmatically?


Cheers,

Bernd

_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to