regex-builder
Skill3 starsChanged 11 months agoApache-2.0View on GitHub
Build and explain regular expressions. Use when the user needs to create regex patterns, understand existing patterns, or validate text matching.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- 0xelitesystem/claude-skills-collectiontheir own version, first seen Jun 11, 2026
- TeamDzX/myllm-skillstheir own version, first seen Jun 5, 2026
- kakarot-oncloud/claude-dev-skillstheir own version, first seen Apr 19, 2026
- ilhankilic/yaratai-skilltheir own version, first seen Apr 14, 2026
- mergisi/awesome-openclaw-agentstheir own version, first seen Mar 14, 2026
- jMerta/codex-skillstheir own version, first seen Dec 14, 2025
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- mergisi/awesome-openclaw-agents★ 4ksame name
- jMerta/codex-skills★ 130same name
- TeamDzX/myllm-skills★ 2same name
- ilhankilic/yaratai-skill★ 1same name
- 0xelitesystem/claude-skills-collection★ 0same name
- kakarot-oncloud/claude-dev-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository100 other files it gives its agents.
- accessibility-checkerSkill
- analytics-trackerSkill
- api-contract-testerSkill
- api-documentation-generatorSkill
- api-rate-limiterSkill
- appstore-screenshot-resizerSkill
- architecture-documenterSkill
- authentication-implementerSkill
- aws-resource-provisionerSkill
- browser-extension-builderSkill
- caching-implementerSkill
- changelog-generatorSkill
- chart-generatorSkill
- ci-pipeline-debuggerSkill
- cli-tool-builderSkill
- code-documenterSkill
- code-explainerSkill
- code-migration-helperSkill
- code-refactorerSkill
- code-reviewerSkill
- color-palette-generatorSkill
- comment-generatorSkill
- contributing-guide-writerSkill
- cron-job-schedulerSkill
- css-animatorSkill
- csv-processorSkill
- data-aggregatorSkill
- database-backup-restoreSkill
- database-migration-generatorSkill
- database-query-optimizerSkill
- data-transformerSkill
- data-validatorSkill
- date-time-helperSkill
- debug-helperSkill
- dependency-updaterSkill
- dependency-vulnerability-checkerSkill
- discord-bot-builderSkill
- docker-compose-builderSkill
- dockerfile-generatorSkill
- e2e-test-builderSkill
- email-template-builderSkill
- env-setupSkill
- error-handlerSkill
- error-message-writerSkill
- error-response-handlerSkill
- etl-pipeline-builderSkill
- file-organizerSkill
- form-builderSkill
- git-commit-messageSkill
- github-actions-builderSkill
- gitignore-generatorSkill
- graphql-schema-builderSkill
- icon-system-builderSkill
- input-validatorSkill
- integration-test-builderSkill
- jsdoc-generatorSkill
- json-schema-generatorSkill
- kubernetes-manifest-generatorSkill
- license-chooserSkill
- linter-fixerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Create, explain, and test regular expressions.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Regex Builder
Create, explain, and test regular expressions.
Common Patterns
| Pattern | Matches | Example |
\d+ | One or more digits | "123" |
\w+ | Word characters | "hello_123" |
\s+ | Whitespace | " " |
[a-z]+ | Lowercase letters | "abc" |
.* | Any characters | "anything" |
^...$ | Full string match | anchored |
Useful Regex Examples
Email Validation
^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$[a-zA-Z0-9._%+-]+- Local part (before @)@- Literal @ symbol[a-zA-Z0-9.-]+- Domain name\.[a-zA-Z]{2,}- TLD (.com, .org, etc.)
URL Matching
https?:\/\/[\w\-.]+(:\d+)?(\/[\w\-._~:/?#\[\]@!$&'()*+,;=%]*)?Phone Number (US)
^(\+1)?[-.\s]?\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}$Date (YYYY-MM-DD)
^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$Regex Flags
| Flag | Description |
g | Global (find all matches) |
i | Case insensitive |
m | Multiline mode |
s | Dotall (. matches newlines) |
Testing in JavaScript
const pattern = /\d+/g;
const text = "I have 3 apples and 5 oranges";
const matches = text.match(pattern); // ["3", "5"]
// With named groups
const datePattern = /(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})/;
const result = "2024-01-15".match(datePattern);
console.log(result.groups.year); // "2024"Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

