Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^((?:\w+\.)*(?:(?:\w+)+))\.(?:\d\.\w+)$
/
gm

Description

Extract the array path from a nested path

Submitted by anonymous - 3 years ago