Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(?!http|$)
/
gm

Description

Used this to help with the migration of urls that did not begin with with an http or https protocol.

Submitted by anonymous - 4 years ago