Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2016-07-27 16:41
Flavor·PCRE (Legacy)

/
[\w\s<>]*(?![\w\s<>]*"+.*"+)(trekking)
/
gm
Open regex in editor

Description

search a WORD iff isn't between two apex. example: attribute="abc WORD abc" abc WORD, 'abc WORD "abc MATCHES: 2nd and 3th WORD

Submitted by White Dragon