Try it
Javascript
Jquery
Angular
Learn Angular
Learn Javascript
Learn Bootstrap
Learn jQuery
Match-3
JavaScript
match
function with
regular expression
:
<!DOCTYPE html> <html> <head> <title>Welcome to LearnKode - A code learning platform</title> </head> <body> <script> var str = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; var regexp = /[A-E]/gi; var result = str.match(regexp); document.write(result); </script> </body> </html>
Output
×
Save This try
Title
Description
<p>JavaScript <code>match</code> function with <code>regular expression</code>:</p>