Answers for "regular expression alphanumeric dash space c#"

C#
0

regular expression alphanumeric dash space c#

var regexp = /^[a-zA-Z0-9-_]+$/;
var check = "checkme";
if (check.search(regexp) === -1)
    { alert('invalid'); }
else
    { alert('valid'); }
Posted by: Guest on January-07-2022

Code answers related to "regular expression alphanumeric dash space c#"

C# Answers by Framework

Browse Popular Code Answers by Language