Wildcards for something other than a word, For instance, A* * *Z |
Wildcards for something other than a word, For instance, A* * *Z |
Jun 8 2004, 08:49 PM
Post
#1
|
|
Newbie Group: Members Posts: 1 Joined: 8-June 04 Member No.: 45 |
This is something I've been messing with now and then in Savitar for quite some time. Seems like it should be something that can be done, but I'm the first to admit I'm not the best macro/trigger author around.
Anyway, I'd like to be able to look at three consecutive words in a given string. If the first letter of the first word is A and the last letter of the third words is Z, then I'd like the trigger to do something. Doesn't matter what the second word is at all, and it doesn't matter what the characters are following the A or preceeding the Z. I've tried to use the "Match it exactly as it is found" as well as "Match the whole line it was found in" methods and this is what I've used: A$$ $$ $$Z $$ It ignores the Z, though, and triggers the event regardless of what follows the A. Perhaps this is something I need to figure out the "Match: Regular Expression" for? |
|
|
Lo-Fi Version | Time is now: 23rd December 2024 - 10:57 AM |