Regular Expressions 101

Community Patterns

Extract, match domain from URL

0

Regular Expression
PCRE2 (PHP >=7.3)

/
http\w?\:\/\/(.*?)\/
/
gm

Description

Worryin’ about you is like wonderin’ if the sun gonna come up.

Submitted by @seocringe - 2 years ago