I have a string like this:
++ ST/-- OP/22 SomeString/21 AnotherString/-- CL/++ ED
"++ ST" and "++ ED" are open-close document marks,
"-- OP" and "-- CL" are open-close for piece of info,
"/" - is kind of separator,
"22" and "21" are identification of variable strings.
So I need to somehow extract variables identified as 22 and 21 ("SomeString" and "AnotherString" in that example) with using regular expressions. Is it even possible to do so with string like this?
++or--can be ignored? Are the identifications always going to be numbers?