Hello there!
Right now I'm copying an address to a named clipboard.
I now want to check if that named clipboard contains a number (house number).
If there is a number the action can resume, if not I want to trigger another action.
I know how I can set up an if-action but I don't know how to find out if the clipboard text contains any number.
Any help would be much appreciated!
Best regards and stay safe,
Lukas
Do a regex search of the clipboard for \d.
Building on thoffman666 answer
shows you how to use regex and you can search a clipboard as well as a variable.
Do an initial test with a variable and then add the code for a clipboard
gglick
#4
I'd suggest changing the condition from "contains" to "matches" in conjunction with the regex for digits (\d
):