Matthew Lang avatar

Table of Contents


Matching a regex from a character to the end of the string

To match from a colon (:) to the end of a line using a regular expression, you can use the following pattern:

:.*$