Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-07-01 20:20
Flavor·PCRE (Legacy)

/
([+\-*^]\s*[+\-*^]|[xX]\s*[xX])
/
g
Open regex in editor

Description

check if two operator follow and if two [xX] follow. You can combine this with https://regex101.com/r/qT7fO0/1

Submitted by Kerosene2000