I want to do this:
I want to do a match that would open a window that does not end on a . and that does not have -- inside it. This is the regex: ^(?!.*--)[^.]*[^.]$
window
.
--
^(?!.*--)[^.]*[^.]$
But I can't seem to use it in that if block. Feel like I am doing something wrong as it does not match.
Hi!
I think your regex should work for what you want, but you'd need to change the condition from "contains" to "matches" for the If Then to use your regex pattern to evaluate the window title.
how can I do matches on this too?
matches
You can set that action to "windows with title matching" instead of "windows with title containing"
Thanks, that worked
For more information, see the wiki Searching the Forum for Answers section.