If you want to remove leading non-alphabets that you can match:
^[^a-zA-Z]+
and replace it with '' (empty string).
Explanation:
first ^ - Anchor to match the beginning.[] - char classsecond ^ - negation in class char+ - one or more previous matches
So, a regular expression matches one or more of any non-alphabets that are at the beginning of a line.
In your case, it will get rid of all leading spaces leading with a hyphen and the leading sign is equal. In short, to the first alphabet.
source share