*.?
Glob Pattern Tester
Test *, **, ?, [abc] and {a,b} patterns against file paths.
2 / 6
Matches
^src\/(?:(?!\.)[^/]*(?:\/|$))*(?!\.)[^/]*\.(?:js|ts)$ ^src\/(?:(?!\.)[^/]*(?:\/|$))*(?!\.)[^/]*\.test\.js$
RegExp
| Path | Last matching pattern | |
|---|---|---|
| src/index.js | ✓ | src/**/*.{js,ts} |
| src/lib/util.ts | ✓ | src/**/*.{js,ts} |
| src/lib/util.test.js | ✗ | !src/**/*.test.js |
| src/.hidden/x.js | ✗ | — |
| README.md | ✗ | — |
| src/main.jsx | ✗ | — |
Runs entirely in your browser. Nothing is sent anywhere.
How it works
- 1Paste or type your text.
- 2Choose the options you need.
- 3Copy or download the result.
About this tool
Glob Pattern Tester: Test *, **, ?, [abc] and {a,b} patterns against file paths. Paste your text and the result appears immediately, ready to copy or download. Everything happens locally in your browser — nothing you paste is uploaded or stored.
Example
Input
src/index.js src/lib/util.ts src/lib/util.test.js src/.hidden/x.js README.md src/main.jsx
Output
src/index.js src/lib/util.ts
How do I use the Glob Pattern Tester?
Paste or type your text. Choose the options you need. Copy or download the result.
Is the Glob Pattern Tester free?
Yes. It is completely free with no sign-up, no usage limits and no watermark.
Is my data sent to a server?
No. Everything is calculated locally in your browser. Nothing you enter is uploaded, logged or stored.
Does it work on my phone?
Yes. It works in any modern browser on Android, iPhone, iPad, Windows, Mac and Linux — no app needed.