You searched for the word(s):
< 1 second(s)
-
What I need is pretty simple, but I'm having trouble visualizing how to get it done with one regular expression. I'm using Perl and I want to match all occurrences of the digit 1 that isn't within parentheses.
Some sample input:36(1)1/GDP3(1)/G.3-H;2-341/G
FC1(1)2/SAC/BG.2-3So #1, #3, and #4 should match, but #2 shouldn't.