locked
Help with "wildcards," regular expressions, in Word 2010 RRS feed

  • Question

  • Hello,

    I'm at a loss here. I'm converting some sgml text, which is just ascii tagged text into Word. Here's an example of a subhead that I need to search for and replace with a formatted style. It's got a bunch of preceding tagging. Then, a capital letter appears, followed by a period. I need to capture that capital letter. But, Word is searching and finding pages and pages of data when, instead of a capital letter there, there's a number. I need to convert those numbered heads, too, but, they're a different kind of subhead.

    So, here's the crux of my search:

    \<content.group id=?@\>\<bna.id\>[A-Z]

    And, here's the first line, of many, that it finds. Notice there's no capital letter. There's a number "1," followed by a period.

    <content.group id="a0c4n9u9m5"><bna.id>1.</bna.id><name>Creating a Defensible Document Retention Plan<footnote id="a0c4n9u9m6">

    ...

    Thanks for any help.

    Thursday, March 24, 2011 6:39 PM

Answers

  • I think I found my problem. And, I can't blame MS. I went with more specificity in the "id" value at the left. Thanks, anyway.

     

    • Marked as answer by David Wolters Friday, March 25, 2011 3:36 PM
    Thursday, March 24, 2011 10:43 PM