Home |
Search |
Today's Posts |
|
#1
|
|||
|
|||
How can I put one number 100 times in a document?
I have a whole document with a lot of phone numbers (xx.xx.xx). But I want
to put before every phone number a zone number(056). So the result has to be this: (056)xx.xx.xx. Can anyone help me with this? Wim |
#2
|
|||
|
|||
From the Edit menu, select Replace and then click on the More button and
check the "Use wildcards" box. Then in the "Find what:" control, enter: ([0-9]{2}.[0-90]{2}.[0-9]{2}) and in the "Replace with:" control, enter: (056)\1 Then click on Replace All. For an explanation, See the article "Finding and replacing characters using wildcards" at: http://www.word.mvps.org/FAQs/Genera...gWildcards.htm -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Wim Verschaeve" wrote in message ... I have a whole document with a lot of phone numbers (xx.xx.xx). But I want to put before every phone number a zone number(056). So the result has to be this: (056)xx.xx.xx. Can anyone help me with this? Wim |
#3
|
|||
|
|||
There's a typo in there Doug It should have read:
([0-9]{2}.[0-9]{2}.[0-9]{2}) -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Doug Robbins wrote: From the Edit menu, select Replace and then click on the More button and check the "Use wildcards" box. Then in the "Find what:" control, enter: ([0-9]{2}.[0-90]{2}.[0-9]{2}) and in the "Replace with:" control, enter: (056)\1 Then click on Replace All. For an explanation, See the article "Finding and replacing characters using wildcards" at: http://www.word.mvps.org/FAQs/Genera...gWildcards.htm Doug Robbins - Word MVP "Wim Verschaeve" wrote in message ... I have a whole document with a lot of phone numbers (xx.xx.xx). But I want to put before every phone number a zone number(056). So the result has to be this: (056)xx.xx.xx. Can anyone help me with this? Wim |
#4
|
|||
|
|||
Which must not matter because the string that I posted was copied from the
Edit Replace dialog after using it to successfully add the required area code. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Graham Mayor" wrote in message ... There's a typo in there Doug It should have read: ([0-9]{2}.[0-9]{2}.[0-9]{2}) -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Doug Robbins wrote: From the Edit menu, select Replace and then click on the More button and check the "Use wildcards" box. Then in the "Find what:" control, enter: ([0-9]{2}.[0-90]{2}.[0-9]{2}) and in the "Replace with:" control, enter: (056)\1 Then click on Replace All. For an explanation, See the article "Finding and replacing characters using wildcards" at: http://www.word.mvps.org/FAQs/Genera...gWildcards.htm Doug Robbins - Word MVP "Wim Verschaeve" wrote in message ... I have a whole document with a lot of phone numbers (xx.xx.xx). But I want to put before every phone number a zone number(056). So the result has to be this: (056)xx.xx.xx. Can anyone help me with this? Wim |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to refer/track a paragraph number within the document? | Microsoft Word Help | |||
How can I number paragraphs after finishing a document? | Microsoft Word Help | |||
How many times are words used in a document. | Microsoft Word Help | |||
merge document with columns and page number in header resets | Mailmerge | |||
Counting the number of times a single word is used in a Word XP do | Microsoft Word Help |