$f variable r store in $'(after match)
both r same
In reply to Re^2: how to do replace more then one matches? by virudinesh in thread how to do replace more then one matches? by virudinesh