Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove specified tags in XML (notepad++)

I have a (very) big XML file for my gps track. It's built like this:

<trkpt lat="45.4818095" lon="3.76271898">
        <time>2010-08-29T17:20:52Z</time>
    </trkpt>
    <trkpt lat="45.48068593" lon="3.762722181">
        <time>2010-08-29T17:21:37Z</time>
    </trkpt>
    <trkpt lat="45.47923258" lon="3.762515148">
        <time>2010-08-29T17:22:35Z</time>
    </trkpt>

I want to share my GPS track, but all the information between the <time> and </time> is useless. Is there a way to delete these tags in notepad++?

like image 344
Tom De Witte Avatar asked May 23 '13 15:05

Tom De Witte


1 Answers

Used <time>.*?</time> and it worked perfectly.

enter image description here

like image 131
spicet Avatar answered Sep 28 '22 08:09

spicet