Regular Expressions 101

WORD not between two apex

Open Workspace
  • PCRE (Legacy)
  • Match
0

Regular Expression

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

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