Filter for if string/array contains a number

I’m trying to setup a filter for a module that checks if a string or array contains any numbers.

I’m not sure how to filter for any number other than setting up a filter for each number.

Is there an easier way for all numbers?

You can use, Matches pattern in filter for his, with value as

\d

Assuming that you want to check if string has a number in it, anywhere.

2 Likes

Awesome, thanks for sharing, I never noticed the match pattern condition. :bulb:

1 Like