Match only at the beginning of the input.
Section: Anchors and Boundaries
Start of string
regex
regex
^Explanation
Useful for line-based matching with multiline mode or full-string validation when combined with `$`.
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 Anchors and Boundaries
Absolute start anchor
Match only at the absolute start of the entire string.
Absolute end anchor
Match only at the absolute end of the entire string.