HTML Editor
Run
<!DOCTYPE html> <html lang="en-US"> <body> <script> var str = "He is good and he likes her."; // try to replace /he/g with /he/gi var result = str.replace(/he/g, "she"); document.write(result); </script> </body> </html>
OUTPUT
×
Save as
Private
Tag
AJAX
Canvas
CSS
Google Charts
HTML
Javascript
jQuery
JSON
SASS
SVG
Description
Save