View Single Post
 
Old 05-06-2018, 12:12 PM
wardw wardw is offline Windows 7 64bit Office 2007
Advanced Beginner
 
Join Date: Oct 2012
Posts: 60
wardw is on a distinguished road
Default Wildcard replace any string in context with a specified string

I'm working with OCR'd documents with frequently repeated titles, like "CBS EVENING NEWS WITH WALTER". For cases where WITH is completely misspelled, as in "CBS EVENING NEWS BIFG WALTER", I need to find that string and replace it with WITH. Pseudocode would be something like "find NEWS followed by any single word except WITH, followed by WALTER. Replace with NEWS WITH WALTER".

I'm having no luck specifying "any string except this", like "CBS EVENING NEWS [!WITH] WALTER". Search just says it's not found.

Is it possible to specify a particular string using [!], or does it work only for single characters?
Reply With Quote