regexr.com
Open in
urlscan Pro
2a06:98c1:3120::3
Public Scan
Submitted URL: http://regexr.com/
Effective URL: https://regexr.com/
Submission: On March 10 via manual from US — Scanned from NL
Effective URL: https://regexr.com/
Submission: On March 10 via manual from US — Scanned from NL
Form analysis
0 forms found in the DOMText Content
Untitled Pattern Pattern Settings * Save (ctrl-s) * New * Dark UI * by gskinner * GitHub * Sign In MENU Minimize menu * Pattern Settings * My Patterns * Cheatsheet * RegEx Reference * Community Patterns * Help RegExr is an online tool to learn, build, & test Regular Expressions (RegEx / RegExp). -------------------------------------------------------------------------------- * Supports JavaScript & PHP/PCRE RegEx. * Results update in real-time as you type. * Roll over a match or expression for details. * Validate patterns with suites of Tests. * Save & share expressions with others. * Use Tools to explore your results. * Full RegEx Reference with help & examples. * Undo & Redo with ctrl-Z / Y in editors. * Search for & rate Community Patterns. Get personalized content recommendations to help make your emails more engaging.ads via Carbon Want to support RegExr? Consider disabling your ad-blocker for this domain. We'll show a non-intrusive, dev-oriented ad in this area. * * * * * * * EXPRESSION JavaScript Flags x /([A-Z])\w+/g * TEXT * TESTS Add Test 27 matches (0.3ms) xxxxxxxxxx RegExr 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. TOOLS * Replace * List * Details * Explain Toggle tools panel 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. REGEX ENGINE -------------------------------------------------------------------------------- * JavaScript (Browser) * PCRE (Server) EXPRESSION FLAGS -------------------------------------------------------------------------------- * global * case insensitive * multiline * single line (dotall) * unicode * sticky * Match Full * Match Any * Match None SIGN IN -------------------------------------------------------------------------------- Sign in to persist favorites & patterns. Click the help icon above for info. Any unsaved changes will be lost. Saved patterns & favorites will be migrated to your account. -------------------------------------------------------------------------------- * GitHub * Google SIGN OUT -------------------------------------------------------------------------------- You are currently signed in as -- via --. Sign out. One moment... Character classes .any character except newline \w\d\sword, digit, whitespace \W\D\Snot word, digit, whitespace [abc]any of a, b, or c [^abc]not a, b, or c [a-g]character between a & g Anchors ^abc$start / end of the string \b\Bword, not-word boundary Escaped characters \.\*\\escaped special characters \t\n\rtab, linefeed, carriage return Groups & Lookaround (abc)capture group \1backreference to group #1 (?:abc)non-capturing group (?=abc)positive lookahead (?!abc)negative lookahead Quantifiers & Alternation a*a+a?0 or more, 1 or more, 0 or 1 a{5}a{2,}exactly five, two or more a{1,3}between one & three a+?a{2,}?match as few as possible ab|cdmatch ab or cd Favorite (add to My Patterns) Load & open pattern settings Load -- Copy to clipboard Rate Rate pattern -- Rate pattern -------------------------------------------------------------------------------- Sign in to avoid losing your patterns! Signed in as No unsaved changes. Fork Save Optional info Shareable link Copy to clipboard Private Favorite Share with the Community Delete Edit or add extra information to help people find this expression. Cancel Share This will share a public copy of this Expression (including Text) with the Community. You will not be able to edit or delete the shared copy. Failed Passed Match all Delete test