I am trying to remove a string from a grep search, and I can't seem to get sed to work, despite the regex appearing to be correct. I am also using OSX, but I installed gnu-sed to make things a little easier.
I was hoping the following regex would remove all min certainties from :
gsed -r 's/minCertainty=\"\d\.\d{1,}\"//g'
Here is an example of the text I am dealing with, for context:
<vendor="company1" minCertainty="1.0"/>
<vendor="company2" minCertainty="0.75"/>
<vendor="company3" minCertainty="0.25"/>