I’m currently using the following regex, which works as needed.
<code>^[0-9*#.?-&s]+$
</code>
<code>^[0-9*#.?-&s]+$
</code>
^[0-9*#.?-&s]+$
However I also need this to allow a single word as well. The word may appear by itself, or with any of the other valid characters, or it may not appear at all.
eg:
^[0-9*#.?-&PASSs]+$
But as I’ve added it above that will match on the individual letters P,A,S,S not PASS.
How do I di that ?
I may need to add FAIL as well, to the same check – is that possible ?
Thanks
1