← Home

ðŸ”ĪRegex

⌘K
ðŸĪ–
Claude Code AI Tools
ðŸĪ—
Hugging Face AI Tools
ðŸĶœ
LangChain AI Tools
🧠
Keras AI Tools
ðŸĶ™
Ollama AI Tools
🐍
Python Programming Languages
ðŸŸĻ
JavaScript Programming Languages
🔷
TypeScript Programming Languages
⚛ïļ
React Programming Languages
ðŸđ
Go Programming Languages
ðŸĶ€
Rust Programming Languages
📊
MATLAB Programming Languages
🗄ïļ
SQL Programming Languages
⚙ïļ
C/C++ Programming Languages
☕
Java Programming Languages
ðŸŸĢ
C# Programming Languages
🍎
Swift Programming Languages
🟠
Kotlin Programming Languages
â–ē
Next.js Programming Languages
💚
Vue.js Programming Languages
ðŸ”Ĩ
Svelte Programming Languages
ðŸŽĻ
Tailwind CSS Programming Languages
💚
Node.js Programming Languages
🌐
HTML Programming Languages
ðŸŽĻ
CSS/SCSS Programming Languages
🐘
PHP Programming Languages
💎
Ruby Programming Languages
ðŸ”ī
Scala Programming Languages
📊
R Programming Languages
ðŸŽŊ
Dart Programming Languages
💧
Elixir Programming Languages
🌙
Lua Programming Languages
🐊
Perl Programming Languages
🅰ïļ
Angular Programming Languages
🚂
Express.js Programming Languages
ðŸą
NestJS Programming Languages
ðŸ›Īïļ
Ruby on Rails Programming Languages
◾ïļ
GraphQL Programming Languages
🟊
Haskell Programming Languages
💚
Nuxt.js Programming Languages
🔷
SolidJS Programming Languages
⚡
htmx Programming Languages
ðŸ’ŧ
VS Code Development Tools
🧠
PyCharm Development Tools
📓
Jupyter Development Tools
🧠
IntelliJ IDEA Development Tools
💚
Neovim Development Tools
ðŸ”Ū
Emacs Development Tools
🔀
Git DevOps & CLI
ðŸģ
Docker DevOps & CLI
â˜ļïļ
Kubernetes DevOps & CLI
☁ïļ
AWS CLI DevOps & CLI
🔄
GitHub Actions DevOps & CLI
🐧
Linux Commands DevOps & CLI
ðŸ’ŧ
Bash Scripting DevOps & CLI
🌐
Nginx DevOps & CLI
📝
Vim DevOps & CLI
ðŸ”Ļ
Makefile DevOps & CLI
🧊
Pytest DevOps & CLI
🊟
Windows DevOps & CLI
ðŸ“Ķ
Package Managers DevOps & CLI
🍎
macOS DevOps & CLI
🏗ïļ
Terraform DevOps & CLI
🔧
Ansible DevOps & CLI
⎈
Helm DevOps & CLI
ðŸ”Ļ
Jenkins DevOps & CLI
ðŸ”Ĩ
Prometheus DevOps & CLI
📊
Grafana DevOps & CLI
ðŸ’ŧ
Zsh DevOps & CLI
🐟
Fish Shell DevOps & CLI
💙
PowerShell DevOps & CLI
🔄
Argo CD DevOps & CLI
🔀
Traefik DevOps & CLI
☁ïļ
Azure CLI DevOps & CLI
☁ïļ
Google Cloud CLI DevOps & CLI
📟
tmux DevOps & CLI
🔧
jq DevOps & CLI
✂ïļ
sed DevOps & CLI
📊
awk DevOps & CLI
🌊
Apache Airflow DevOps & CLI
ðŸ”Ē
NumPy Databases & Data
🐞
Pandas Databases & Data
ðŸ”Ĩ
PyTorch Databases & Data
🧠
TensorFlow Databases & Data
📈
Matplotlib Databases & Data
🐘
PostgreSQL Databases & Data
🐎
MySQL Databases & Data
🍃
MongoDB Databases & Data
ðŸ”ī
Redis Databases & Data
🔍
Elasticsearch Databases & Data
ðŸĪ–
Scikit-learn Databases & Data
👁ïļ
OpenCV Databases & Data
⚡
Apache Spark Databases & Data
ðŸŠķ
SQLite Databases & Data
⚡
Supabase Databases & Data
ðŸ”ĩ
Neo4j Databases & Data
ðŸ“Ļ
Apache Kafka Databases & Data
🐰
RabbitMQ Databases & Data
ðŸ”Ī
Regex Utilities
📝
Markdown Utilities
📄
LaTeX Utilities
🔐
SSH & GPG Utilities
🌐
curl & HTTP Utilities
📜
reStructuredText Utilities
🚀
Postman Utilities
🎎
FFmpeg Utilities
🖞ïļ
ImageMagick Utilities
🔍
ripgrep Utilities
🔍
fzf Utilities
📗
Microsoft Excel Office Applications
📘
Microsoft Word Office Applications
📙
Microsoft PowerPoint Office Applications
📝
Hancom Hangul Hancom Office
ðŸ“―ïļ
Hancom Hanshow Hancom Office
📊
Hancom Hancell Hancom Office
📄
Google Docs Google Workspace
📊
Google Sheets Google Workspace
ðŸ“―ïļ
Google Slides Google Workspace
🔌
Cadence Virtuoso EDA & Hardware
⚙ïļ
Synopsys EDA EDA & Hardware
💎
Verilog & VHDL EDA & Hardware
⚡
LTSpice EDA & Hardware
🔧
KiCad EDA & Hardware
📝
Notion Productivity
💎
Obsidian Productivity
💎
Slack Productivity
ðŸŽŪ
Discord Productivity
ðŸŽĻ
Figma Design Tools
📘
Confluence Atlassian
📋
Jira Atlassian
🃏
Jest Testing
⚡
Vitest Testing
🎭
Playwright Testing
ðŸŒē
Cypress Testing
🌐
Selenium Testing
💙
Flutter Mobile Development
ðŸ“ą
React Native Mobile Development
🍎
SwiftUI Mobile Development
ðŸ“ą
Expo Mobile Development
🐍
Django Web Frameworks
⚡
FastAPI Web Frameworks
ðŸŒķïļ
Flask Web Frameworks
🍃
Spring Boot Web Frameworks
ðŸļ
Gin Web Frameworks
⚡
Vite Build Tools
ðŸ“Ķ
Webpack Build Tools
⚡
esbuild Build Tools
🐘
Gradle Build Tools
ðŸŠķ
Maven Build Tools
🔧
CMake Build Tools
ðŸŽŪ
Unity Game Development
ðŸĪ–
Godot Game Development
🔌
Arduino Embedded & IoT
🔍
Nmap Security
🐕
Datadog Monitoring
📖
Swagger/OpenAPI Documentation
No results found
EN KO

📝 Basic Patterns

ðŸ”Ą Literals & Metacharacters

abc Matches exact string "abc"
. Any single character (except newline)
\d Any digit [0-9]
\D Any non-digit
\w Word character [a-zA-Z0-9_]
\W Non-word character
\s Whitespace (space, tab, newline)
\S Non-whitespace
\n Newline
\t Tab
\r Carriage return

🔒 Escaping

\. Literal dot
\* Literal asterisk
\+ Literal plus
\? Literal question mark
\[ Literal bracket
\( Literal parenthesis
\{ Literal brace
\\ Literal backslash
\^ Literal caret
\$ Literal dollar sign
\| Literal pipe

⚓ Anchors & Boundaries

📍 Position Anchors

^ Start of string/line
$ End of string/line
\b Word boundary
\B Non-word boundary
\A Start of string (absolute)
\Z End of string (absolute)
\z Very end of string

ðŸ’Ą Anchor Examples

^Hello Line starting with "Hello"
world$ Line ending with "world"
^Hello$ Line containing only "Hello"
\bword\b Whole word "word"
\Bword "word" not at word start

ðŸ”Ē Quantifiers

📊 Basic Quantifiers

* 0 or more (greedy)
+ 1 or more (greedy)
? 0 or 1 (optional)
{n} Exactly n times
{n,} n or more times
{n,m} Between n and m times

ðŸĒ Lazy Quantifiers

*? 0 or more (lazy)
+? 1 or more (lazy)
?? 0 or 1 (lazy)
{n,}? n or more (lazy)
{n,m}? Between n and m (lazy)

ðŸ’Ą Quantifier Examples

colou?r Matches "color" or "colour"
\d{3}-\d{4} Phone: 123-4567
\d{2,4} 2 to 4 digits
<.*> Greedy: matches longest
<.*?> Lazy: matches shortest

ðŸ“Ķ Groups & Alternation

🔗 Grouping

(abc) Capturing group
(?:abc) Non-capturing group
(?<name>abc) Named capturing group
(?P<name>abc) Named group (Python)
\1 Backreference to group 1
\k<name> Backreference to named group
(?>abc) Atomic group (no backtrack)

🔀 Alternation

a|b Match "a" or "b"
(cat|dog) Match "cat" or "dog"
gr(a|e)y Match "gray" or "grey"

ðŸ’Ą Group Examples

(\d{3})-(\d{4}) Capture area code and number
(\w+)\s+\1 Match repeated word
(?<year>\d{4})-(?<month>\d{2}) Named groups for date
^(https?|ftp):// Match http, https, or ftp

ðŸ”Ī Character Classes

📋 Bracket Expressions

[abc] Match a, b, or c
[^abc] Not a, b, or c
[a-z] Lowercase letter
[A-Z] Uppercase letter
[0-9] Digit
[a-zA-Z] Any letter
[a-zA-Z0-9] Alphanumeric
[\s\S] Any character including newline

📚 POSIX Classes

[:alpha:] Alphabetic characters
[:digit:] Digits
[:alnum:] Alphanumeric
[:space:] Whitespace
[:upper:] Uppercase
[:lower:] Lowercase
[:punct:] Punctuation
[:xdigit:] Hexadecimal digits

👀 Lookahead & Lookbehind

🔍 Lookaround Assertions

(?=abc) Positive lookahead
(?!abc) Negative lookahead
(?<=abc) Positive lookbehind
(?<!abc) Negative lookbehind

ðŸ’Ą Lookaround Examples

\d+(?=px) Digits followed by "px"
\d+(?!px) Digits not followed by "px"
(?<=\$)\d+ Digits after "$"
(?<!\$)\d+ Digits not after "$"
(?<=<b>).*(?=</b>) Content between <b> tags
\b\w+(?=ing\b) Word before "ing"

ðŸšĐ Flags & Modifiers

⚙ïļ Common Flags

i Case insensitive
g Global (find all matches)
m Multiline (^ and $ match lines)
s Dotall (. matches newline)
x Extended (ignore whitespace)
u Unicode support

ðŸ’Ą Flag Examples

/hello/i Match "Hello", "HELLO", etc.
/pattern/g Find all occurrences
/^line/m Match "line" at start of any line
/a.b/s Match "a\nb" (dot matches newline)
(?i)hello Inline case insensitive

📋 Common Patterns

✅ Validation Patterns

^[\w.-]+@[\w.-]+\.\w{2,}$ Email address
^https?://[\w.-]+(?:/[\w./-]*)?$ URL
^\d{3}-\d{3,4}-\d{4}$ Phone number (KR)
^\d{4}-\d{2}-\d{2}$ Date (YYYY-MM-DD)
^(?=.*[A-Z])(?=.*[a-z])(?=.*\d).{8,}$ Strong password
^\d{1,3}(\.\d{1,3}){3}$ IPv4 address (simple)
^#?([0-9A-Fa-f]{6}|[0-9A-Fa-f]{3})$ Hex color code
^[a-z0-9_-]{3,16}$ Username

ðŸŽŊ Extraction Patterns

<[^>]+> HTML tags
\b\d{1,3}(\.\d{3})*(,\d+)?\b Numbers with separators
["'](.*?)["'] Quoted strings
\([^)]+\) Content in parentheses
/\*[\s\S]*?\*/ C-style comments
//.*$ Single line comment

ðŸ’Ą Tips & Best Practices

âœĻ Useful Tips

  • Use Online Testers: regex101.com, regexr.com for testing
  • Start Simple: Build patterns incrementally
  • Use Non-Capturing Groups: (?:...) when you don't need the match
  • Prefer Lazy Quantifiers: Use *? and +? to avoid overmatching
  • Anchor Your Patterns: Use ^ and $ for precise matching
  • Escape Special Chars: Remember to escape . * + ? etc.
  • Use Comments: Use (?#comment) or x flag for readability
  • Test Edge Cases: Test empty strings, special chars, unicode