I want my bot to delete the URLs posted by the members. Im not sure about how to detect that a URL has been posted as they could start from https or www. Or something else altogether... And insight is appreciated !
EDIT: Found similar question to mine.
Regular expression for URL validation (in JavaScript)
Successfully tackled the same using a npm plugin called Linkify.
Consider this closed.