Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2022-05-16 14:39
Flavor·ECMAScript (JavaScript)

/
^((?:\w+\.)*(?:(?:\w+)+))\.(?:\d\.\w+)$
/
gm
Open regex in editor

Description

Extract the array path from a nested path

Submitted by anonymous