Results 1 to 5 of 5
  1. #1
    New Lounger
    Join Date
    Jan 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Search and replace, Acromyms (1234)

    I am trying to search a large word documents for any capital letters that appear consecutively together more than twice (acronyms in other words). If I wanted to search for any single capital letter I could use the search and replace function, with wildcard option selected and type [ABCDEFGHIJKLMNOPQRSTUVWXYZ]. This would find all capital letters. But what I want to for search is capital letters that appear twice or more of any combination. e.g. SE, TU, STU, WYS, WTSY, PSTS, basically any combination of capital letters that appear with 2 or more next to each other.

    The solution would make my life so much easier. Thanks for your help.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Search and replace, Acromyms (1234)

    Welcome to Woody's Lounge!

    You could search (with wildcards) for [A-Z][A-Z]

  3. #3
    3 Star Lounger
    Join Date
    Apr 2003
    Location
    Calgary, Alberta
    Posts
    208
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Search and replace, Acromyms (1234)

    Are you familiar with macros? I think this will be the most likely solution for your situation.

  4. #4
    WS Lounge VIP
    Join Date
    Mar 2006
    Location
    Maryland, USA
    Posts
    690
    Thanks
    17
    Thanked 66 Times in 56 Posts

    Re: Search and replace, Acromyms (1234)

    The search string would be [A-Z]{2,} . Click More, then put a check in the wildcard checkbox.


    PamC
    Pam Caswell

  5. #5
    New Lounger
    Join Date
    Jan 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Search and replace, Acromyms (1234)

    Thank you very much PamC and Hans, both options work very well. Now I don't have to read 1500 pages of non-sense; I can just repeatedly press the return key.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •