Require text to follow the current position.
Section: Lookarounds
Positive lookahead
regex
regex
\w+(?=:)Explanation
Matches the word before a colon without including the colon.
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