$organized=~s/\s\w+/\sz/g;
You are, for example, replacing the string " something" with the string "sz" instead of " z".
In reply to Re^2: regular expessions question: (replacing words)
by jwkrahn
in thread regular expessions question: (replacing words)
by $new_guy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |