Regex for URLs

This reges can be used to detect an url. It has four¬†groups: Protocol Domain Top Level Domain Subdomains (https?://)?(\w+\.)+\w{2,4}(/[\w./?:~+\-\\\[\]\*#%&=]*)? The description of each group: (https?://)? http,¬†https or nothing. * (\w+\.)+…

Read more

Skip to toolbar