x
/([A-Z])\w+/gJavaScript
Flags
x
/([A-Z])\w+/gAdd Test
27 matches (2.9ms)
xxxxxxxxxxRegExr was created by gskinner.com.Edit the Expression & Text to see matches. Roll over matches or the expression for details. PCRE & JavaScript flavors of RegEx are supported. Validate your expression with Tests mode.The side bar includes a Cheatsheet, full Reference, and Help. You can also Save & Share with the Community and view patterns you create or favorite in My Patterns.Explore results with the Tools below. Replace & List output custom results. Details lists capture groups. Explain describes your expression in plain English.Add Test
Build a suite of tests that your expression should (or should not) match.
Create new tests with the 'Add Test' button. Click a test to edit the name, type, & text.
Roll-over elements below to highlight in the Expression above. Click to open in Reference.
( Capturing group #1. Groups multiple tokens together and creates a capture group for extracting a substring or using a backreference.
[ Character set. Match any character in the set.
A-Z Range. Matches a character in the range "A" to "Z" (char code 65 to 90). Case sensitive.
]
)
\w Word. Matches any word character (alphanumeric & underscore).
+ Quantifier. Match 1 or more of the preceding token.