match any number of spaces after a paragaph (^p)
Hello,
I've been searching the internet to find out how I can use regular expressions to delete the spaces that start a line, using the ^p.
If I have a document with a random number of spaces at the beginning of some lines, I can't use both ^p and {1,} (with a space before {1,}), because ^p doesn't support the wildcard option. Of course, I wouldn't want to start matching the highest amount of spaces and then decrease it gradually. I'd like to match any number of spaces at the beginning of lines.
How could I do that?
Thank you!
|