Horje
blood group regex Code Example
blood group regex
const validBloodGroupRegex = /^(A|B|AB|O)[+-]$/i; // Here i is to ignore case sensitivity
const validBloodGroupString = 'AB+';
const invalidBloodGroupString = 'BC+';

// Returns true
console.log(validBloodGroupRegex.test(validBloodGroupString))

// Returns false
console.log(validBloodGroupRegex.test(invalidBloodGroupString))




Javascript

Related
javascript check if all capital letter Code Example javascript check if all capital letter Code Example
remove all node_modules folders recursively Code Example remove all node_modules folders recursively Code Example
python json dump to file Code Example python json dump to file Code Example
javascript get utc time Code Example javascript get utc time Code Example
function that return shortest of words in the given array js Code Example function that return shortest of words in the given array js Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8