![]() |
|
|
|
#1
|
|||
|
|||
|
That is tremendous,,,magic,,,, and does exactly what I asked for. I added a space before the first \ so that my period at the end would tighten to the word.
I tried to analyze why it works, but it's beyond my pay grade for sure. Thank you |
|
#2
|
|||
|
|||
|
The backslash before ( and ) is there to escape the opening and closing brackets, i.e. to make them recognized as ordinary characters. Otherwise, Word would consider that the brackets define a regex group for back-reference.
http:// searches for itself as a string of characters. [!^13]* matches anything that is not a paragraph end mark. Note that \(http://*\) or \(https://*\) would have done the job more simply! |
|
| Tags |
| find, format, replace |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Find what box in Find and replace limits the length of a search term
|
Hoxton118 | Word VBA | 7 | 06-10-2014 05:05 AM |
Issue with Find/Replace with Notes
|
cheech1981 | Word | 3 | 08-31-2013 11:22 PM |
Find and Replace Format macro issue
|
Jack | Word VBA | 2 | 12-12-2012 09:24 PM |
Bad view when using Find and Find & Replace - Word places found string on top line
|
paulkaye | Word | 4 | 12-06-2011 11:05 PM |
| Find & Replace Insert Issue | mipacker | Word | 0 | 02-18-2009 08:59 AM |