search string not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bf5113
    New Member
    • Nov 2008
    • 1

    search string not working

    I am trying to replace an email address across 100+ website files using the following perl statement -

    $line =~ s/abcdefgh@verizo n.net/xxxxxxxx9@mypov .org/g, $line;

    The script is not recognizing the search string and so is not modifying the emaill address in each file. I have used this statement with another email address and it worked just fine. Any suggestions?
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    Code:
    $line =~ s/abcdefgh\@verizon\.net/xxxxxxxx9\@mypov.org/g, $line;

    Comment

    Working...