![]() |
|
#2
|
||||
|
||||
|
hi xavier,
If there is no space before the email address, how is the 'Find' supposed to identify where the email address begins? This is easy enough where the email address is preceded by a paragraph break, but is really not possible where it's simply a matter of a missing space. For an email address preceded by one or more spaces, try a wildcard Find/Replace where: Find = "[ ]{1,}([! \@]{1,}\@*.[! ]{1,})[ ]{1,}" Replace = " \1 " For the alpha-numeric strings, try a wildcard Find/Replace where: Find = "<[A-Z]{2}[0-9]{6}>" Replace = "^&" and set the colour format the replacement as red.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
| Tags |
| find and replace |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Find and Replace
|
kjxavier | Word | 9 | 08-11-2011 04:47 AM |
Help with find and replace or query and replace
|
shabbaranks | Excel | 4 | 03-19-2011 08:38 AM |
| find and replace | anil3b2 | Word | 0 | 08-03-2010 11:30 PM |
| help with find and replace | sjkiss | Word | 1 | 04-12-2010 08:08 AM |
| Find /Replace Help | ilcaa | Word | 2 | 11-02-2009 08:41 AM |