would replace the first sequence three times.s/\s+/ / for 1 .. 3;
In reply to Re^2: how to search and replace the match with specific number of times in a string
by JavaFan
in thread how to search and replace the match with specific number of times in a string
by loki
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |