- Regular expressions [View Source] [Download] [Mail it]
This example uses a regular expression to validate if a date has been entered in the correct format. - Regular expressions [View Source] [Download] [Mail it]
With the RegExp object, you can substract substrings which match a pattern from a string. This example shows you how to do this. - Regular Expressions: Match example [View Source] [Download] [Mail it]
This example uses the RegExp-match method to validate a phone number. - Regular Expressions: stripping HTML tags [View Source] [Download] [Mail it]
Here is a way to strip HTML tags from a string with a simple regular expression
|