JavaScript String Regular Expressions – Part 4 Introduction This is the fourth part of my series JavaScript String Regular Expressions. You can actually group bits of a regular expression and do something with it. That is what this part of the series is about. Groupings We can use parenthesis to group characters in a pattern. Consider the following pattern: /The (guitarist)/ “guitarist” is in parenthesis. The parentheses form a group, which has the text: “guitarist”. Consider the following: /The... Sign in to see full entry.