test

test

JavaScript Regular Expressions

The test() method returns true if it finds a match, otherwise false.

Search a string for the character "e":