Using Typescript and Node v8, I am trying to process a markdown text and remove all the image URLs that follow a specific pattern: