Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(?:[^ ,?\\]*([^ ,?\\])[ ,?\\]+(?:(?=\1))+)+[^ ,?\\]+
"
g

Description

Matches every sentence in your string

Submitted by anonymous - 7 years ago