Reputation: 119
My test string: (MATCH) X (MATCH)[1] "(NO MATCH)" (NO MATCH)X (MATCH) X
I want to match the text in the parentheses (with the parentheses), but only if the parentheses are followed by a whitespace or a [
.
I currently have this regex, but it is greedy and i don't know how to make it lazy.
How do i make my regex expression lazy ?
Upvotes: 1
Views: 3336