![]() |
|
#1
|
|||
|
|||
|
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! |
| Tags |
| regex, word 2011 |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Two spaces after a period
|
mysterytramp | Word | 14 | 11-06-2017 02:01 PM |
Reference number and cross reference for equation numbers to match the thesis format
|
wmac | Word | 1 | 05-14-2013 08:54 PM |
| Invalid Pattern Match Value for Replacing Spaces | sleake | Word | 2 | 04-26-2013 11:26 AM |
| paragaph hard break, soft break and ...strange break | czomberzdaniela | Word | 2 | 12-03-2010 06:58 PM |
| Spaces After Each Word | jnutella | Word | 0 | 03-04-2009 02:00 PM |