Thankfully, there is another way that works for most searches. Sadly though, wildcard searches don’t find end-of-cell marker. The character is actually an ASCII 07 so you should be able to do: (Done in 1.4a)^07And using Replace to add to the text, you **would** have been able to use: \1 but there is still more to doWhich **would** have resulted in “Done in 1.4a but there is still more to do” wherever the original text appeared at the end of a cell. It turns out that you cannot search for this! Well, not outside of some VBA anyway. The same symbol appears at the end of the row as well (the end-of-row marker). As you can see, it has a circular mark with 4 “tails” (sometimes referred to as a “Universal Currency Symbol”). This didn’t work so I turned on the visual paragraph marks and saw what I should have already known – the end of a table cell does not have a paragraph mark. Which would find the text at the end of a paragraph. My first thought was to do: (Done in 1.4a)^13 I knew that the text to replace all appeared at the end of table cells but I couldn’t immediately work out how to search for this. Recently, I needed to replace a load of text in a very large table (around 100 pages). The special characters can be inserted from the “Special” button but do note the warning in “ Reference” above and in “ What you cannot do!” below regarding some of the marks you cannot find. To replace manual line breaks instead of a paragraph mark, use ^| instead of ^13. Unexplained failures in Word’s find feature is not at all uncommon, it is rather buggy! For some reason if the last character on the line is a “/”, Word fails to find a match. , groups (), repeats ()^13Though it should be noted that this can fail. In this article, I’ve put together a number of examples of advanced finds and replaces that I’ve found useful. In fact, Word not only has the simple wild cards (* and ?) but uses simplified Regular Expression (REGEX) searching. One often missed aspect of the Find dialog in Microsoft Word is the ability to use wild cards.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |