Demo JavaScript in Body
A Paragraph.
The test() method returns true if it finds a match, otherwise it returns false.
Click the button to search a string for the character “e”.
A Paragraph.
The test() method returns true if it finds a match, otherwise it returns false.
Click the button to search a string for the character “e”.