Grep Patterns (BBEdit Search)
BBEdit supports full Perl-compatible regex in its search.
| Pattern | Matches |
|---|---|
\b\w+\b |
Whole words |
^\s*$ |
Blank lines |
<[^>]+> |
HTML tags |
\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} |
IP addresses |
#[0-9a-fA-F]{6} |
Hex color codes |
Text Factories
Text Factories chain multiple operations into reusable workflows:
| Step Type | Example |
|---|---|
| Find & Replace | Standardize formatting |
| Run Unix Filter | Pipe through shell command |
| Change Case | UPPER, lower, Title |
| Sort Lines | Alphabetical, numeric |
| Remove Duplicates | Unique lines only |
| Process Lines | Delete/keep matching lines |
Language Support
| Language | Features |
|---|---|
| HTML/CSS | Syntax coloring, preview, tidy |
| JavaScript | Syntax coloring, function nav |
| Python | Syntax coloring, function nav |
| Markdown | Syntax coloring, preview |
| Shell scripts | Syntax coloring, execution |
| PHP | Syntax coloring, function nav |
| Ruby | Syntax coloring, function nav |
| JSON/YAML | Syntax coloring, validation |