I can write a regex to search for all regular links but is there any way to convert them to markdown links?
I try:
(?:https?|ftp):\/\/\S+ - returns all the links I have.
and:
\!\[\]\(\1\) - to convert link to markdown but it's failed.
I can write a regex to search for all regular links but is there any way to convert them to markdown links?
I try:
(?:https?|ftp):\/\/\S+ - returns all the links I have.
and:
\!\[\]\(\1\) - to convert link to markdown but it's failed.