Removing occurrences using regex - 17/10/05 07:01 AM
I've written an alis to do this already just wondering if it's possible to do this using regex? I've tried the following but it only strips one occurrence:
Output
blah test this is a test
Code:
//var %reg = (\w+\b)\s | echo -a $regsub(test blah test this is a test,%reg,$chr(32),%var) | echo -a %var
Output
blah test this is a test