Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

regex in typescript

const regex_alphanumeric = /^[a-zA-Zd]*$/;

console.log(regex_alphanumeric.test('a'));
console.log(regex_alphanumeric.test('1'));
console.log(regex_alphanumeric.test('!'));
 
PREVIOUS NEXT
Tagged: #regex #typescript
ADD COMMENT
Topic
Name
2+9 =