In JavaScript Regular Expressions, which of the following word boundaries matches the start or end of a word?

🎲 Try a Random Question  |  Total Questions in Quiz: 20  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Regex Knowledge Test — practice the complete quiz, review flashcards, or try a random question.

A regular expression, sometimes referred to as rational expression, is a sequence of characters that specifies a match pattern in text. Usually such patterns are used by string-searching algorithms for "find" or "find and replace" operations on strings, or for input validation.


In JavaScript Regular Expressions, which of the following word boundaries matches the start or end of a word?