Find a regular match []

for example, a string [1] 2132234 [4], the rule can match one, two, three
, but if this string of characters is more complicated, such as [one] 111 [two] 111, it cannot accurately match the one, two, three

that one needs.

if it's just to match one, two, three. Ten, then regular / [one two three four five six seven eight ninety] + / g is enough.
if you want to match, it must be in square brackets. Ten, then use regular /\ [([1234567890] +)\] / g to traverse the match, and take the first group for each match.

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-1b30680-2aa56.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-1b30680-2aa56.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?