Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-16-2015, 08:17 AM
Ulodesk Ulodesk is offline Something about wildcard syntax continues to elude me Windows 7 64bit Something about wildcard syntax continues to elude me Office 2013
Word 2013 Expert Cert
Something about wildcard syntax continues to elude me
 
Join Date: Sep 2009
Location: Virginia
Posts: 872
Ulodesk is on a distinguished road
Default Something about wildcard syntax continues to elude me

Every time I think I have gotten a handle on this tool, I end up struggling to create even simple expressions for practice. I can follow explanations and have had occasional successes, but then get stumped on basics. I don't know why I can't get it.

My latest idea, just now, was to find words ending in "me" with only two letters preceding. That is, the search would find "same" and "some" but not "theme" or "resume".

Here are some of a number of expressions I tried that don't work, but I don't know why not:

[?](2)me>
?{2}me>
[ ]?{2}me>
<[?]{2}me>

The question mark is any single character, the curly bracketed 2 should limit to only two characters, and me> ends the word. The last expression works by itself, but, of course, finds any words ending in "me".

Putting a space in brackets before the ?, or a < could, it would seem, signal the beginning of the word.

Any help appreciated.
Reply With Quote
  #2  
Old 01-16-2015, 03:03 PM
macropod's Avatar
macropod macropod is offline Something about wildcard syntax continues to elude me Windows 7 64bit Something about wildcard syntax continues to elude me Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,363
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You could, of course, use:
<??me>
or:
<[! ]{2}me>

The ? is not, apparently, a valid character within [], so [?](2)me> won't work and, even if it did, that expression would only find strings in words of any length ending in 2me.

The ?{2}me> find strings words of any length from the insertion point until it encounters a word ending in me.

etc.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change characters outside a wildcard while keeping wildcard results nymusicman Word VBA 2 04-10-2014 08:17 AM
Continues pages in word jamesb Word 1 09-04-2012 08:53 PM
Outlook continues to run after I close it Shawn76 Outlook 1 08-23-2010 12:30 AM
Merge to New Document - saved letter continues to ask for SQL source Brandi Mail Merge 2 06-16-2010 08:08 AM
Something about wildcard syntax continues to elude me Syntax help needed blazzercat Excel 3 07-09-2009 02:15 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft