Hi all,
I am sorry if such questions were posted before but I would be grateful if you guys could help me out on this!
I want to match the word "active" unless its preceded by "mild" or "moderate".
I tried,
$variable = qr/(?!(mild|moderate)).?active/
but this seems to match everything - i.e., "mild active", "moderate active" and also "active".
I don't quite understand why this isn't working. Please help!
Ryan