/

HTML / CSS / JavaScript Tutorial

JavaScript regular expressions: “*” quantifier

[this page | pdf | back links]

A JavaScript regular expression takes the form: /pattern/modifiers

 

If a component of a regular expression has a “*” qualifier, i.e. takes the form s*, then this means that it contains zero or more occurrences of s.

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Regular Expressions


Desktop view | Switch to Mobile