Answers for "how to get regex from string"

1

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 "how to get regex from string"

Browse Popular Code Answers by Language