/

HTML / CSS / JavaScript Tutorial

JavaScript regular expressions: “s{n}” 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{n} then this means that it contains a sequence of n s’s.

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Regular Expressions


Desktop view | Switch to Mobile