Need some advice for a regex expression I am trying to create.
I need to check whether the string contains at least one digit (0-9) OR it can be left empty.
This is my regex that checks for a digit:
(.*[0-9]){1}.*$
How can I modify this to allow for empty string?