Flash cards
Review the key moves
1/3
Core idea
What is the main idea behind RegExp Methods?
Lesson checks
Practice each idea before moving on
Short Mimo-style checks built from this lesson's code, terms, and sequence.
1Quick choice
Which statement best captures the main point of this lesson?
2Order
Put the learning moves in the order that makes the concept easiest to apply.
JavaScript RegExp Meta Characters
JavaScript RegExp Character Classes
RegExp String Methods
RegExp String Methods
| Method | Description |
|---|---|
| match(regexp) | Returns an Array of results |
| matchAll(regexp) | Returns an Iterator of results |
| replace(regexp, s) | Returns a new String |
| replaceAll(regexp, s) | Returns a new String |
| search(regexp) | Returns the index of the first match |
| split(regexp) | Returns an Array of results |
See Also
JavaScript RegExp Flags
JavaScript RegExp Character Classes
JavaScript RegExp Meta Characters
JavaScript RegExp Assertions
JavaScript RegExp Quantifiers
JavaScript RegExp Patterns
JavaScript RegExp Objects