in reply to (Ovid) RE: Regular Expression Help
in thread Regular Expression Help

You can do:

($section_title = $filename) =~ s!:!:</B>\n<BR><BR>!;

This will set $section_title to the substituted value of $filename, and leave $filename unmodified.

Cheers,
KM