/

HTML / CSS / JavaScript Tutorial

JavaScript regular expressions: “\B” character

[this page | pdf | back links]

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

 

The character sequence \B in a regular expression has a special meaning, namely to match not at the beginning/end of a word.

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Regular Expressions


Desktop view | Switch to Mobile