Regular Expressions 101

Community Patterns

1...456

Finds r'\\n\, r'\n'' but not r'\\\n'

0

Regular Expression
PCRE (PHP <7.3)

/
(?<!\\)(\\)n|(?<!\\)(\\\\)n
/
g

Description

no description available

Submitted by maffei2443 - 7 years ago