Match any text until a stopper without over-consuming.
Section: Lookarounds
Tempered dot
regex
regex
(?:(?!END).)+Explanation
Useful when you need to stop before a sentinel substring.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Lookarounds