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
Lets say I have the word Apple. How would you select the whole paragraph the word Apple exists ?
Thanks
Mike
how about
:%s/\p\+apple\p\
Leo
:%s/\p\+apple\p\
Leo
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
Mike
Are you sure the regular expression option is enabled? (do they mean reg exp when they say wild card?)
ASKER
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
split?
.* Apple .*