I need to use sed to modify a document called "case" with the lines example="value" where value can take any 2 o 3 characters integer, for example:
example=55
example=777
otherthing=anothervalue
I want to use sed to modify both of the example lines into two lines called example=000
I have tried to use
sed -i -e "s/example=*/example=000/g" case
to modify them both at the same time, but obviously it did not worked. What I need to know is how to make sed take any 2 or 3 characters after the =