Answers for "regular-expression-to-find-urls-within-a-string js"

6

use regex to get urls from string

/(?:(?:https?|ftp|file):\/\/|www\.|ftp\.)(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[-A-Z0-9+&@#\/%=~_|$?!:,.])*(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[A-Z0-9+&@#\/%=~_|$])/igm
Posted by: Guest on November-04-2020

Code answers related to "regular-expression-to-find-urls-within-a-string js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language