Last active
August 28, 2020 08:41
-
-
Save ardianta/5fd6a8ae277ad58a0a758b0d9546ecf5 to your computer and use it in GitHub Desktop.
Revisions
-
ardianta renamed this gist
Aug 28, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
ardianta revised this gist
Jan 16, 2020 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -22,8 +22,8 @@ And the regex for replacing:  ``` - `$4` -- will take the 4th group - `$3` -- will take the 3rd group  -
ardianta revised this gist
Jan 16, 2020 . 1 changed file with 5 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -10,18 +10,21 @@ And replace with:  ``` So the regex for finding: ```regex (\{\{<) (img) "(.*?)" "(.*?)" (>\}\}) ``` And the regex for replacing: ```regex  ``` - `$4` --- will take the 4th group - `$3` --- will take the 3rd group  Demo: https://regex101.com/r/eusVXZ/2/ -
ardianta revised this gist
Jan 16, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -24,4 +24,4 @@ And the replace regex:  Demo: https://regex101.com/r/eusVXZ/2/ -
ardianta revised this gist
Jan 16, 2020 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -22,4 +22,6 @@ And the replace regex:  ```  Demo: https://regex101.com/r/eusVXZ/1 -
ardianta created this gist
Jan 16, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ I want to find this string: ```markdown {{< img "/img/image-name.png" "Image Caption" >}} ``` And replace with: ```markdown  ``` So the regex for find: ```regex (\{\{<) (img) "(.*?)" "(.*?)" (>\}\}) ``` And the replace regex: ```regex  ``` Demo: https://regex101.com/r/eusVXZ/1