Firstly, I am looking for something different from this:
My purpose is modify the
"fillColor="#242838"
with fillColor="mycolor"
However, the hex color in this statement can be anything like
"fillColor="#221231"
or "fillColor="#213123"
So how can I find & edit the text using windows batch file.
Edit: I have tried JREPL.BAT regular expression find/replace utility tool for this.
jrepl "android:fillColor=(.*?)" "fillColor="mycolor" /x /f myfile.xml /o -
However, escaping from "
doesn't work in this line.
I have already tried ""
, \"
, ^"
They don't help me to escape "
character.