Regular Expressions 101

array path

Open Workspace
  • JavaScript
  • Match
1

Regular Expression

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

Description

Extract the array path from a nested path

Submitted by Anonymous