How do you split the following scalar using regular expression into array by pattern "command" but preserve the word "command" in each elements in the array?command = adb asd 2t525 command=adfaf adsgadg asd
best regards
kevin
In reply to split but preserve the matching pattern by nwkcmk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |