Hello, A question I have had for months and have never come across a solution except the kludgy work-around I always use: some text START text I don't want START only text I want END /START.*?END/ matches: START text I don't want START only text I want END I want to match: START only text I want END I there a simple way to do this without injecting newlines before START etc.?
In reply to really non greedy match by Allasso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |