JavaSript RegExp Object
The n* quantifier matches any string that contains zero or more occurrences of n.
![]()
The * quantifier is supported in all major browsers.
Do a global search for an "l", followed by zero or more "o" characters:
The marked text below shows where the expression gets a match:
Do a global search for a "1", followed by zero or more "0" characters:
The marked text below shows where the RegExp gets a match:
JavaSript RegExp Object
Your message has been sent to W3Schools.