I have quite a few html files with several links in it. E.g.
<div><a href="/location/?latitude=41.7948205&longitude=-72.12729890000003" >location 1</a></div>
<div><a href="/location/?latitude=41.9020418&longitude=-72.07979440000002" >location 2</a></div>
I want to round the longitude values to 6 decimal places. E.g.
<div><a href="/location/?latitude=41.7948205&longitude=-72.127299" >location 1</a></div>
<div><a href="/location/?latitude=41.9020418&longitude=-72.079794" >location 2</a></div>
I'm a noob when it comes to file parsing and don't know if this is possible. I would appreciate any pointers and guidance.