Sub LinkParser(PostBody As String)
Dim url As String
Do While PostBody.Contains("https://")
url=PostBody.SubString2(PostBody.IndexOf("https://"),PostBody.IndexOf2(" ",PostBody.IndexOf("https://")))
'This is where I want to check if "url" is inside a tag (HTML or markdown).
'If it is, do nothing, it will be parsed by markdown parser.
'If it's not, then proceed with the following commands I have truncated to save space
Loop
Log(url)
End Sub