Is there a way to use regex in XSLT 1.0 with XML as the input and desired output? I am trying to use a test to confirm that a variable is in a timecode format, i.e. hh:mm:ss:ff.
The regular expression I currently am working with is:
[0-1][0-9]|2[0-3])(:|;)[0-5][0-9](:|;)[0-5][0-9](:|;)[0-9][0-9]
To produce a value time code in format hh:mm:ss:ff the following requirements must be met:
[hh = 00 - 19 or 20 - 23]
[; or :]
[mm = 00 - 59]
[; or :]
[ss = 00 -59]
[; or :]
[ff = 00 - 99]