Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-14-2015, 06:01 AM
vinci vinci is offline match any number of spaces after a paragaph (^p) Mac OS X match any number of spaces after a paragaph (^p) Office for Mac 2011
Novice
match any number of spaces after a paragaph (^p)
 
Join Date: Nov 2013
Location: Romania
Posts: 5
vinci is on a distinguished road
Default 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!
Reply With Quote
 

Tags
regex, word 2011



Similar Threads
Thread Thread Starter Forum Replies Last Post
match any number of spaces after a paragaph (^p) Two spaces after a period mysterytramp Word 14 11-06-2017 02:01 PM
match any number of spaces after a paragaph (^p) 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

Other Forums: Access Forums

All times are GMT -7. The time now is 02:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft