#1
|
|||
|
|||
Word 2007 - Wilcard Expression - End of File
Greetings,
I have looked high and low, and I am not sure that such a thing exists, but here is a synopsis of my problem, followed by my question. I am working with a large number of files converted from .pdf that share a common expression that occurs near then end of each file -- "PASSED:" This word is followed by gibberish that concludes each file; e.g. -- "A~p~ri~l~13~•~20~1~7~~~~* APPROVED this ____ ___ 2017 l ltb day of _v{-p_r_i..._I I ". These are random characters that are not consistent between files. In any case, they are not not needed for my project. I would like to apply a macro that gets rid of the keyword "PASSED:" as well as everything that follows that keyword to the end of the file. My question is this: What is the Word wildcard expression or representation for the end of a file? Does such an expression or representation even exist? Thanks and regards, Q. |
#2
|
||||
|
||||
If the content following 'PASSED:' is all one paragraph, you could use a wildcard Find/Replace, where:
Find = ^13PASSED:*^13 Replace =^p
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Yes, and thank you -- I should have thought about it in that manner. My mind found a single track and would not run in a different direction.
Thanks again and regards, q. |
Tags |
wildcards, word 2007 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Opening a Word 2010 .docx file with Word 2007 and Issues | bwalshnl | Drawing and Graphics | 1 | 03-02-2017 04:13 AM |
Word 2007 , when I save a .doc or .docx file the file type is showing "Empty" | Tomc29 | Word | 9 | 06-10-2015 03:04 AM |
Title bar in word and ecxel 2010 is not picking up greek file name of 2007 file | danielle | Word | 4 | 12-03-2014 07:47 AM |
Microsoft Expression Web | ts6947 | Misc | 0 | 02-22-2013 08:20 AM |
[Word 2007] How to hyperlink directly another word file chapter/paragraph/bookmark? | LeeFX | Word | 4 | 05-05-2011 05:53 PM |