Regular Expressions 101

Community Patterns

Match URL Starts with //

0

Regular Expression
PCRE (PHP <7.3)

/
^\/\/[a-zA-z0-9]
/
ig

Description

You can match the string starts with // (forward slash)

Submitted by Sanal Menon Kalipurayath - 9 years ago