Community Patterns

Community Library Entry

0

Regular Expression
Created·2023-01-31 22:18
Flavor·PCRE (Legacy)

~
\b(?:https?://)?(?:(?i:[a-z]+\.)+)[^\s,]+\b
~
g
Open regex in editor

Description

This will help you to extract any URL inside your text

Submitted by Abdullah Alweheid