Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
Python

r"
(?:UTF-8&q=+(.*)$|\?P=+(.*)$|\/search\/node\/+(.*)$)
"
gm

Description

This regex will match search queries formatted in 3 specific patterns.

Submitted by anonymous - 6 years ago