Simple Regular Expression
Hi,
I need a simple check to validate if a string contains only letters and numbers.
The regular expression to test this should be
[A-Za-z0-9]
or, to check to whole string from begin to ebd
^[A-Za-z0-9]$
Now there is REFind and REMatch to search a string for the given expressions.
The first expression does match any character, no matter where in the string.
The second expression does not match at all (although using online regex test validators do).
How do I apply this correctly to achieve my aim, namely to validate if a string contains only letters and numbers.
Thanks!
