/

HTML / CSS / JavaScript Tutorial

JavaScript regular expressions: “s{n1,n2}” quantifier

[this page | pdf | back links]

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

 

If a component of a regular expression takes the form s{n1,n2} then this means that it contains a sequence of n1 to n2 s’s.

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Regular Expressions


Desktop view | Switch to Mobile