Last active
March 23, 2023 01:20
-
-
Save dixonge/2b22666d43e39c49239171af124aa98e to your computer and use it in GitHub Desktop.
Regex to find markdown images and replace with img tag in VS Code (or template engine shortcode, etc.)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Find: !\[(.*?)\]\((.*?)\) | |
Replace: <img alt="$1" src="$2"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment