Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
bossmansmith bossmansmith is offline
external usenet poster
 
Posts: 2
Default Need to select a varying word phrase

example:
|N|(45.56) Talk to John
ask about gym

i need to be able to select this entire line beginning with |N|and add | to
the end of just that line without changing the "ask about gym" line to look
like this
|N|(45.56) Talk to John|
ask about gym

the syntax for the line i want to add the | to always begins with |N| so
maybe some how to enter in find |N| wildcards to get to end of line
and replace with ^&|

i found out that ^& lets you replace the search word with inself
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Need to select a varying word phrase

With the wildcard option set replace
(|N|*)([^13^l])
with
\1|\2
http://www.gmayor.com/replace_using_wildcards.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


bossmansmith wrote:
example:
N|(45.56) Talk to John

ask about gym

i need to be able to select this entire line beginning with |N|and
add | to the end of just that line without changing the "ask about
gym" line to look like this
N|(45.56) Talk to John|

ask about gym

the syntax for the line i want to add the | to always begins with |N|
so maybe some how to enter in find |N| wildcards to get to end of line
and replace with ^&|

i found out that ^& lets you replace the search word with inself



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to add ")' to a varying phrase bossmansmith Microsoft Word Help 2 February 28th 08 05:10 PM
Varying Column Width Ray Pixley Tables 2 February 20th 07 01:43 PM
Mailmerge with varying output BTC Mailmerge 1 July 19th 06 07:28 PM
How to do merge with varying fields in each record? Tim Mailmerge 2 October 26th 05 07:32 PM
Varying track changes colours Derek Microsoft Word Help 1 May 11th 05 09:50 AM


All times are GMT +1. The time now is 02:13 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"