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
RedRado03Asked:
Who is Participating?
 
arch7606Commented:
.*?apple.*?
0
 
Kim RyanIT ConsultantCommented:
So long as there are no carriage returns in your paragraph, you should just be able to use this
.* Apple .*
0
 
Leo EikelmanDirector, IT and Business DevelopmentCommented:
how about

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

Leo
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
RedRado03Author Commented:
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
0
 
Kim RyanIT ConsultantCommented:
Are you sure the regular expression option is enabled? (do they mean reg exp when they say wild card?)
0
 
RedRado03Author Commented:
Regular expression option?  Is this a actual option in WORD or do you just mean having the use wild card option.  Which I do.
0
 
VovinECommented:
Word does not support regular expression matching AFAIK.
0
 
harris_cCommented:
Try:
http://office.microsoft.com/en-au/assistance/ha010873051033.aspx

http://office.microsoft.com/en-us/assistance/HA010873041033.aspx?mode=print
NOTE:   5.  Select Paragraph marks as the text separator, and then click OK.

using arch7606's    .*?apple.*?


hec",)


0
 
harris_cCommented:
split?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.