if (s/foo/bar/) { # yes, I replaced foo with bar ... }