Regex to accept upper lower case alphabets or alphanumeric or alphanumeric numberic with * special character?
Regex to accept upper lower case alphabets or alphanumeric or alphanum
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Abhishek ChadhaRank #402 · 6.2K reputationPosted Sep 21, 2022, 2:12 AM EDT
You can try this -
/^[ A-Za-z0-9_@./#&+-]*$/
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Sep 21, 2022, 2:47 AM EDT
^[a-z0-9*]$ with RegexOptions.IgnoreCase might work too
Vishal JoshiRank #377 · 6.7K reputationPosted Sep 21, 2022, 5:01 AM EDT
Please try below regex which will accept alphabets or alpanumerics.
^[\w.-]+$
Uday DodiyaRank #239 · 10.3K reputationPosted Sep 21, 2022, 5:26 AM EDT
Try Following
^[a-zA-Z0-9*]$