Glob Pattern Tester
Test glob patterns against file paths with support for *, **, ?, [abc], and {a,b} syntax.
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 |
Related tools
JSON to TypeScriptCode
Generate TypeScript interfaces or types from JSON input.
JSON to Go StructCode
Generate Go structs from JSON with proper json tags.
JSON to Python DataclassCode
Generate Python dataclass code from JSON with type hints.
JSON to Java POJOCode
Generate Java POJO classes from JSON with getters, setters, and constructors.
JSON to Rust StructCode
Generate Rust structs from JSON with serde derive macros.
JSON to C# ClassesCode
Generate C# classes from JSON with public properties and using statements.