Wildcard Search "lazy search" and "greedy search"


  1. Posts : 14
    Windows 7 Enterprise
       #1

    Wildcard Search "lazy search" and "greedy search"


    • How do I search on "<#EEEE#>" and select only the "EEEE". I'm a teacher and I use styles to include quiz answers in a document. I then change the font size to "1", or to "hidden". I review the answers in class using a projector, and I want to reveal the answers one at a time.
    • A properly constructed wildcard would speed up this process a lot because the answer may be a word, a few words or a paragraph. So double clicking doesn't work to well.
    • I think that in Regular Expressions this is referred to as &quot;lazy search&quot; and &quot;greedy search&quot; Lazy search selects only EEEE and Greedy search selects What I want is a lazy wildcard expression.
      My Computer


  2. Posts : 5,092
    Windows 7 32 bit
       #2

    Are you talking about inside a document search? Or filename search? If inside a document, get an editor that supports regular expression search. For free editors, some of the Scintilla based editors, like SciTE will do it. Also search freeware sites such as sourceforge.net softpedial.com snapfiles.com filehippo.com etc..

    There's a Windows port of the Linux vi editor called Vim. It's free and very powerful. It's a bit quirky to acclimate to, but it can do very powerful things in a few lines. Paragraph operations impossible to do practically in other editors can be done in Vim. You have to absorb some learning curve. But if you take to it you probably won't want to be without it. It's different than most Windows based editors in that it has "edit mode" and "command mode." A hotkey combination toggles the modes. When you get used to it you'll find yourself swapping modes without thinking, like shufflingh a deck of cards. It will either make you an editing whiz or a person seeking therapy for schizophrena. :)
      My Computer


  3. Posts : 14
    Windows 7 Enterprise
    Thread Starter
       #3

    RegEx in Word?


    Sorry, I meant inside a Word 2007 document. Can Word do that?
      My Computer


  4. Posts : 5,092
    Windows 7 32 bit
       #4

    I'm not a Word officiionado. A search brought me to this article
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:05.
Find Us