VS Code Regex
Publish date: Dec 29, 2021
Last updated: Feb 9, 2023
Last updated: Feb 9, 2023
Scenario 1: Creating fn markdown
Problem
from this:
[1]
[12]
[123]
[a]
[2]
to this
[^1]:
[^12]:
[^123]:
[a]
[^2]:
Solution
search:
\[(\d+)\]
replace:
[^$1]: