perl2newbie has asked for the wisdom of the Perl Monks concerning the following question:
Hi guys, im trying to replace #<-(0N<-(s3T with *<-(0N<-(s3T
i get an error. 'unmatched < in regex......' Update: guys i got what i needed with: \Q search_string \E Can you please help. Thanksso im using: ...... foreach(@lines) { $_=~ $_ =~ s/\#<-(0N<-(s3T\/\*<-(0N<-(s3T/g; push(@newlines,$_); } ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Find and Replace with special characters
by graff (Chancellor) on May 07, 2015 at 02:19 UTC | |
by wrog (Friar) on May 07, 2015 at 08:59 UTC | |
|
Re: Find and Replace with special characters
by Anonymous Monk on May 07, 2015 at 00:51 UTC | |
|
Re: Find and Replace with special characters
by Anonymous Monk on May 07, 2015 at 07:54 UTC | |
|
Re: Find and Replace with special characters
by edimusrex (Monk) on May 07, 2015 at 15:15 UTC |