js regex return null
if(!new RegExp(regex).test(value)){
alert('Your string was invalid.');
}
Are there any code examples left?
New code examples in category Javascript
if(!new RegExp(regex).test(value)){
alert('Your string was invalid.');
}