I need a regular expression which will require (anywhere in the input) at least 1 number, and the entire contents can also contain zero or more commas, apostrophes, and spaces.
The regular expression I've constructed is very close but does not quite work:
^[0-9, ][0-9][0-9, *]$
It will not accept, for example, input of a single digit, but it will accept something such as "2*".
How can I modify this to allow digits, commas, spaces, apostrophes, but also require at least 1 number?
Any help is appreciated.