StartOfLine
StartOfLine represents the start of a line in a string for purposes of matching in StringExpression.
Examples
StringCases["line1\nline2\nline3", StartOfLine ~~ __ ~~ EndOfLine]StringMatchQ["hello", StartOfLine ~~ "hello"]Something isn't working? Report an issue.
Please visit the official Wolfram Language Reference for more details.