LYCOS RETRIEVER
Regular Expression: Methods
built 636 days ago
The static (global) RegExp object has properties that contain useful information on the last regular express executed. Data is for either RegExp methods or String methods.Not all properties are supported across the different browser brands. These properties are accessed using the static object as: RegExp.property or, using the short form, RegExp.$x for $_, and $n some and RegExp['$x'] for all.
Source:
The point of this applet is to provide a convenient means of testing regular expressions before embedding them in a Java program. The buttons represent calls to the Java methods with the same name.
Source:
The String object has four methods that take regular expressions as arguments. These are your workhorse methods that allow you to match, search, and replace a string using the flexibility of regular expressions:
Source: