starlightZZ
Programmer
Hi
I have a huge batch of subtitle xml files that have been coded with the wrong timings.
Is there a way of writing a regular expression to add (for example) 7 seconds to each caption time...
FOR THE FOLLOWING CAPTIONS I WANT TIME= 7, 10, 13 - without having to handcode these files
<CAPTION TIME="0" TEXT="The green cards are ok"></CAPTION>
<CAPTION TIME="3" TEXT="the pink cards are better"></CAPTION>
<CAPTION TIME="6" TEXT="you'll see that underneath the cards that i chose"></CAPTION>
----
i think in macromedia dreamweaver there should be a regular expression that is well capable of helping me..
something like:
search and replace
caption time="[$$]"
with
caption time="[$$+7]"
can anyone help???
if not i have about 100 hours of coding to get on with
Thanks lots guys
I have a huge batch of subtitle xml files that have been coded with the wrong timings.
Is there a way of writing a regular expression to add (for example) 7 seconds to each caption time...
FOR THE FOLLOWING CAPTIONS I WANT TIME= 7, 10, 13 - without having to handcode these files
<CAPTION TIME="0" TEXT="The green cards are ok"></CAPTION>
<CAPTION TIME="3" TEXT="the pink cards are better"></CAPTION>
<CAPTION TIME="6" TEXT="you'll see that underneath the cards that i chose"></CAPTION>
----
i think in macromedia dreamweaver there should be a regular expression that is well capable of helping me..
something like:
search and replace
caption time="[$$]"
with
caption time="[$$+7]"
can anyone help???
if not i have about 100 hours of coding to get on with
Thanks lots guys