Text Processingflags: g
Markdown Image
Matches Markdown image syntax .
Try it in RegexProPattern
regexJavaScript
/!\[([^\]]*)\]\(([^)]+)\)/gRaw source: !\[([^\]]*)\]\(([^)]+)\)
How it works
`!\[([^\]]*)\]` captures the alt text inside brackets. `\(([^)]+)\)` captures the URL in parentheses.
Examples
Input
Matches

Input
 and Matches

Common use cases
- Markdown rendering
- Image extraction
- Link validation