Regular Expressions 101

Community Patterns

extract url

1

Regular Expression
PCRE2 (PHP >=7.3)

@
http[s]?://(?:[a-zA-Z]|[0-9]|[$-_\@.&+]|[!*'(),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+
@
gm

Description

extract url

Submitted by anonymous - 2 months ago