Typing
/^ \+
In command mode will match one or more space characters at the beginning of a line.
Typing
/^\s\+
In command mode will match one or more whitespace characters (tabs etc. as well as spaces) at the beginning of a line.
Typing
/^ \+
In command mode will match one or more space characters at the beginning of a line.
Typing
/^\s\+
In command mode will match one or more whitespace characters (tabs etc. as well as spaces) at the beginning of a line.