Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-04-11 15:10
Flavor·PCRE2 (PHP)

/
(.+\[)(Current Period Result)(\].+\[)(Random field 2)(\].+\/.+\[)(Random field 2)(\].+>\s)(\d+)
/
gm
Open regex in editor

Description

Variable Variance Formula

This is parsing an Alteryx variance formula to show the versatility of re-writing expressions on the fly in your programs for dynamic repeatability, i.e. field names don't matter, and you never have to re-write the same variance formula again!

Submitted by Chris Kusek