Regular Expressions 101

Markdown Titles

Open Workspace
  • Python
  • Substitution
1

Regular Expression

r"
\#(.*?)\*\*(.*?)\*\*
"
gm

Description

increase the head level of the markdown titles - that is add extra #.

Submitted by myaitree