Regex to accept upper lower case alphabets or alphanumeric or alphanumeric numberic with * special character?
Loading
Regex to accept upper lower case alphabets or alphanumeric or alphanumeric numberic with * special character?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Uday DodiyaPosted Sep 21, 2022, 9:26 AM
Try Following
^[a-zA-Z0-9*]$
Vishal JoshiPosted Sep 21, 2022, 9:01 AM
Please try below regex which will accept alphabets or alpanumerics.
^[\w.-]+$
Rajanikant HawaldarPosted Sep 21, 2022, 6:47 AM
^[a-z0-9*]$ with RegexOptions.IgnoreCase might work too
Abhishek ChadhaPosted Sep 21, 2022, 6:12 AM
You can try this -
/^[ A-Za-z0-9_@./#&+-]*$/