Speed up development with full-stack environments for every branch.

Learn More

JSVerbalExpressions Example - search and replace

Forked from JSVerbalExpressions Example - check for valid email.

8 Runs 19 Views 0 Copies


gtsolutions 373

published 4 years ago

        <meta charset="utf-8">
        <title>JSVerbalExpressions Example - search and replace</title>
        <script type="text/javascript" src="js/VerbalExpressions.js"></script>

            var string = "We have a red house";
            var result = VerEx().find( "red" ).replace(string , "blue" );
            alert( result );
Please login/signup to get access to the terminal.

Your session has timed out.

Dismiss (the page may not function properly).