What Regex would capture everything from ‘ mark to the end of a line ?
In regex, it will be the ‘ char followed by any number of any chars including zero chars ending with end of string/line token:
And to capture everything after the ‘ char but not include it in the output, use this:
In above code,it tell that give me all characters that follow the ‘ char until the end of the line.
Alter:$ is implicit when using .* and not strictly required, accordingly to the pattern: