I have these line options:
<40m:22s - ok
<40m:22m; - not ok
<40h:22s;<40m:22m - ok
<40m:22m;<40m:22m; - not ok
I need to check for semicolons. If I have one entry, then it shouldn't be. If I have several entries in a row, then the last entry should not have a semicolon.
Now I have so far only succeeded:
([<>][1-9][0-9][hms]:[1-9][0-9][hms][;?]+)(?<!;)
I will be grateful for any help, hint