JavaScript

JavaScript Regex Example (Highlight Text in Div)1 min read

In this post, I will create an example of javascript Regular Expression. And I’ll create the example that thickens the text entered into the TextBox into the DIV.

Output:

 

JavaScript Code:




Source:

developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions

eloquentjavascript.net/09_regexp.html

 

 

 

Leave a Comment