File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ Include the library and you're good to go!
16
16
Here's a couple of simple examples to give an idea of how VerbalExpressions work:
17
17
18
18
### Testing if we have valid URL
19
+
19
20
``` javascript
20
21
// Create an example of how to test for correctly formed URLs
21
22
var tester = VerEx ()
@@ -53,6 +54,7 @@ alert( result ); // Outputs "Replace duck with a duck"
53
54
```
54
55
55
56
### Shorthand for string replace:
57
+
56
58
``` javascript
57
59
var result = VerEx ().find ( " red" ).replace ( " We have a red house" , " blue" );
58
60
alert ( result2 ); // Outputs "We have a blue house"
@@ -68,4 +70,4 @@ Clone the repo and fork:
68
70
Pull requests are warmly welcome!
69
71
70
72
[ ben-nadel ] :http://www.bennadel.com/
71
- [ extending ] :blog/2292-Extending-JavaScript-Arrays-While-Keeping-Native-Bracket-Notation-Functionality.htm
73
+ [ extending ] :http://www.bennadel.com/ blog/2292-Extending-JavaScript-Arrays-While-Keeping-Native-Bracket-Notation-Functionality.htm
You can’t perform that action at this time.
0 commit comments