Horje
Find a vowel at the begining and end with regular expression Code Example
Find a vowel at the begining and end with regular expression
//  ^ => first item matches:
// () => stores matching value captured within
// [aeiou] => matches any of the characters in the brackets
// . => matches any character:
// + => for 1 or more occurrances (this ensures str length > 3)
// \1 => matches to previously stored match. 
    // \2 looks for matched item stored 2 instances ago 
    // \3 looks for matched item stored 3 ago, etc

//  $ ensures that matched item is at end of the sequence

let re = /^([aeiou]).*\1$/i;

return re;

}




Javascript

Related
react function with form Code Example react function with form Code Example
Too long with no output (exceeded 10m0s): context deadline exceeded Code Example Too long with no output (exceeded 10m0s): context deadline exceeded Code Example
react redux not updating Code Example react redux not updating Code Example
jquery append to table Code Example jquery append to table Code Example
jquery remove multiple class Code Example jquery remove multiple class Code Example

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