How to find out if named clipboard contains numbers?

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