Glob Pattern Tester
Test glob patterns against file paths with support for *, **, ?, [abc], and {a,b} syntax.
AdSense
Top banner
Glob Pattern
Examples
File Paths (one per line)
Results: 4 / 20 match
+src/index.ts
+src/utils/helpers.ts
src/utils/helpers.js
src/components/Button.tsx
src/components/Input.tsx
src/components/Modal.tsx
src/styles/globals.css
src/styles/theme.css
+tests/unit/helpers.test.ts
+tests/integration/api.test.ts
docs/README.md
docs/guide/getting-started.md
package.json
tsconfig.json
.gitignore
.env
.env.local
node_modules/react/index.js
dist/bundle.js
dist/bundle.min.js
Glob Syntax Reference
| Pattern | Description |
|---|---|
| * | Match any characters except path separator (/) |
| ** | Match any characters including path separator (/) |
| ? | Match exactly one character (except /) |
| [abc] | Match any one character listed (a, b, or c) |
| [a-z] | Match any one character in range |
| {a,b} | Match either alternative (a or b) |
| !pattern | Negate: match everything NOT matched by pattern |
Was this page helpful?