How to check if there are numbers in a variable?

cesario678

Client
Регистрация
10.03.2022
Сообщения
171
Благодарностей
12
Баллы
18
I have a table, and from this table, I put the data into a variable. Some rows have numbers, others don't. I would like to read this variable and, if it has any numbers, that's okay, and if it doesn't have any numbers, it gives an error. Can someone help me?
 

myndeswx

Client
Регистрация
15.05.2017
Сообщения
436
Благодарностей
104
Баллы
43
Regex cube with \d (means any number in regex)
make sure to check 'error when the answer is empty

Will result in good exit if it has any number
and bad exit if it does not have a number



121187
 
  • Спасибо
Реакции: cesario678

cesario678

Client
Регистрация
10.03.2022
Сообщения
171
Благодарностей
12
Баллы
18
  • Спасибо
Реакции: myndeswx

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)