Capture HTML or JSX class-like attributes.
Section: JetBrains IDE Recipes
Find className/class attributes
regex
regex
\b(?:class|className)=["']([^"']+)["']Explanation
Useful for CSS cleanup and component audits.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing JetBrains IDE Recipes
Capture ES import path
Find JavaScript/TypeScript imports and capture the module path.
Find numbered file suffixes
Capture numeric suffixes in filenames or keys.
Add commas to object properties
Find non-final object property lines missing a comma.