Regular Expressions Taster
Grab these regular expressions to use in your own JavaScripts. They can add another dimension to your programming experience.Note: In the context of this demonstration the term 'white space' includes any non-printing character, that is any character you cannot see. Examples include blank spaces, carriage returns, line feeds, tab characters, etc.
RegExp: A regular expression object contains the pattern of a regular expression. It has properties and methods for using that regular expression to find and replace matches in strings or to match patterns in strings. JavaScript RegExp can be used in the following JavaScript String Methods: string.match(), string.search(), string.replace() and string.split().
|
Did you use this script? Do you like this site? Please link to us! |


Leave a Response
(0 comments)