Regular Expressions 101

Community Patterns

Capture 5 words either side of a match string

2

Regular Expression
Python

r"
((\w+ ){5})group to(( \w+){5})
"

Description

no description available

Submitted by anonymous - 9 years ago