Link to home
Start Free TrialLog in
Avatar of RedRado03
RedRado03

asked on

Regular Expression

Does anyone know what the regular expression be in microsoft word to select a whole paragraph?  
Lets say I have the word Apple.  How would you select the whole paragraph the word Apple exists ?

Thanks
Mike
Avatar of Kim Ryan
Kim Ryan
Flag of Australia image

So long as there are no carriage returns in your paragraph, you should just be able to use this
.* Apple .*
Avatar of Leo Eikelman
Leo Eikelman

how about

:%s/\p\+apple\p\

Leo
Avatar of RedRado03

ASKER

I'm sorry.  I couldn't get either one of those to work.  Am I doing something wrong?  I just copied that into the find in word with the wildcard option checked.  It did not return anything.

Mike
Are you sure the regular expression option is enabled? (do they mean reg exp when they say wild card?)
Regular expression option?  Is this a actual option in WORD or do you just mean having the use wild card option.  Which I do.
Word does not support regular expression matching AFAIK.
ASKER CERTIFIED SOLUTION
Avatar of arch7606
arch7606

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
split?