Regular Expressions 101

Library entries

Match two multiplied arrays of number literals

Vote

1

Regular Expression
javascript

/
^(\[(\d+|(?:\d*\.\d+))(?:,\s*(\d+|(?:\d*\.\d+)))*\])\s*[\*x]\s*(\[(\d+|(?:\d*\.\d+))(?:,\s*(\d+|(?:\d*\.\d+)))*\])$
/
gm

Description

Loading markdown...
Submitted by anonymous - 3 years ago