Regular Expressions 101

Community Patterns

Search Url Regex

0

Regular Expression
PCRE (PHP <7.3)

/
\/\?s=([^\n|&\"\']+)
/
m

Description

Simple Regex recognising a search url

Submitted by anonymous - 5 years ago