Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2017-11-30 17:29
Flavor·Python

r"
(?<=[qwrtypsdfghjklzxcvbnm])([aeiou]{2,})([qwrtypsdfghjklzxcvbnm])
"
g
Open regex in editor

Description

  1. positive look behind: it does not consume the first character, so it can be used for the next match
  2. flags=re.I is to ignore case sensitive
Submitted by anonymous