i have many xml subtitle to edit this are only two lines of the source;
<Subtitle SpotNumber="28" TimeIn="00:02:29:072" TimeOut="00:02:33:031">
<Text VAlign="bottom" VPosition="17">Text Random</Font></Text>
<Text VAlign="bottom" VPosition="10">Text Random</Font></Text>
</Subtitle>
Remove only the second tag < /Font>
Destination:
<Subtitle SpotNumber="28" TimeIn="00:02:29:072" TimeOut="00:02:33:031">
<Text VAlign="bottom" VPosition="17">Text Random</Font></Text>
<Text VAlign="bottom" VPosition="10">Text Random</Text>
</Subtitle>
The solution is:
regex for notepad++ search and remove
VPosition="10">.*?\K</Font>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.