JavaScript Reference

JavaScript – RegExp g Modifier

In JavaScript RegExp, the “g” modifier specifies a global match, which finds ALL matches, and NOT just the first match.

JavaScript Reference

JavaScript – RegExp m Modifier

In JavaScript RegExp, the “m” modifier specifies a multiline match. ^ specifies a match at the start of a string. $ specifies a match at the end of a string.

JavaScript Reference

JavaScript – RegExp \b Metacharacter

The JavaScript RegExp \b metacharacter matches at the beginning or end of a word. Search for ma at the beginning of a word (\bma), at the end (ma\b).

JavaScript Reference

JavaScript – RegExp \B Metacharacter

The JavaScript RegExp \B metacharacter matches NOT at the beginning or end of a word. Search for ma NOT at the beginning (\bma), or the end (ma\b).

HTML
CSS
JavaScript
jQuery
PHP
SQL
WordPress
HTML
CSS
JavaScript
jQuery
PHP
SQL
WordPress

Why 1SMARTchicken?

This site was built and is maintained to benefit my autistic son.
See More →

My Son's Name is Johnny

He was diagnosed as autistic quite late, at age four...
His story

Buy Me a Coffee

Thanks for your support!

1SMARTchicken Icon