I'm trying to create a regex that only matches when:
An alphanumeric character that is not preceded by "[" but is followed by "/"
and a "/" & an alphanumeric character when there isn't a "]" in front of it.
[antenna/board] ---> should match /a, /d and c/
So far I have (([^)(-?\w)/) ---> this matches /d and c/ but not /a. I have tried (([^)(-?\w)/)|(/(-?\w)([
^]])) but can't get the character set of [^]] to match "]".