regex - Changing Specific attribute -
i want change specific attribute in each file (there total 350 of them) same code.
for example, folder 'target' there 350 files have same attribute change. in file a,
<revised-comment mcr="">revised effect text 13</revised-comment>
in file b,
<revised-comment mcr="">revised effect text b 14</revised-comment>
in file c,
<revised-comment mcr="">revised effect text c 15</revised-comment>
i have 350 files have same manner of attribute, values different. here, use "find in file" in sublime text find of revised-comment attributes change this.
<revised-comment mcr=""></revised-comment>
is there way can regex syntax with? appreciated!
this should require simple pattern consisting of literal characters.
find: <revised-comment mcr="">.+</revised-comment>
replace <revised-comment mcr=""></revised-comment>
the actual "regex" part of .+
match variable inner text. .
symbol matches character other newline , carriage return, , +
symbol signifies should match .
1 or more times.
Comments
Post a Comment