How to find only those strings " - " that are outside the brackets?

There is a line: 16-4-14-4-4-10-(-)-(LifeGlassClear-40-90)-12-121-(LifeGlassClear-40-90)-(LifeGlassClear-40-90)

Need to find all " - " except those that fall inside the brackets.
While stopped on the regular season: (?<=\().*-.*(?=\))|(-), but I can't modify it.
March 19th 20 at 08:36
1 answer
March 19th 20 at 08:38
Solution

Find more questions by tags Regular expressions