Wait for a rule online!

M664.261517.521c0meme 6.627-5.372Magi 12-12H520.826c 12V386.087c0 6.627Magi 0-12-5.373-12-12V386.087c0-6.627Magi 5.373-12h131.435c6.628Magi 12M664.261517.521z
if the above is a d attribute in a path tag, now it is necessary to separate these values into an array, ask for help
I wrote [- d.d] match will have 12-12 0-12-5 this strange combination!
emmm Sorry, the requirement is not clear enough. Here"s the thing. The final result is that all the values in this string of characters are required. 0RV 664.261, 0RV 517.521JR 301, 0JR 3O, 4JR 6.62755Rue 5.372.... A negative number is still a negative number. Zero is also necessary. If the letters are removed, the negative numbers are separated

.

update the answer at 17:15:11 on February 25, 2019, forgetting to deal with negative numbers

`M664.261,517.521c0,6.627-5.372,12-12,12H520.826c-6.627,0-12-5.373-12-12V386.087c0-6.627,5.373-12,12-12h131.435c6.628,0,12,5.373,12,12V517.521z`.match(/-?[\d\.]+/g)

clipboard.png


201922517:13:11


clipboard.png


.

clipboard.png

clipboard.png


var reg = /(-)?\d+\.\d+/g;
str.match(reg);
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e32865-5920f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e32865-5920f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?