in reply to Re^2: Pattern matching
in thread Pattern matching

You can do that by combining the two .* aspects of the pattern:

m{ /lawyers/ (?: (?!LDS) . )* ~Firms.html }x

Hugo