title: URL regex from plain text?
body: <p>How to modify this regex compatible with <code>https://sub.domain.com</code>?</p>
  
  <p><code>/(http|https|ftp|ftps)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\/\S*)?/</code>
  <code>/(http|https|ftp|ftps)\:\/\/sub\.domain\.com[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\/\S*)?/</code></p>