How to find out if named clipboard contains numbers?

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.Bildschirmfoto 2020-06-11 um 01.02.23

Any help would be much appreciated!

Best regards and stay safe,

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

I'd suggest changing the condition from "contains" to "matches" in conjunction with the regex for digits (\d):