Answer the question
In order to leave comments, you need to log in
Remove color:#000000 but not stop-color:#000000 with sed?
Greetings!
There is this line:
style="color:#000000;stop-color:#000000;solid-color:#000000;"
color:#000000
so as not to change the other two. sed -r 's/[^-]color:#([0-9a-zA-Z]{3}|[0-9a-zA-Z]{6});?//g'
"
.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question