Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: Removing the carriage return in a Find & Replace?

by bobafifi (Beadle)
on Sep 26, 2008 at 15:54 UTC ( [id://713896]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Removing the carriage return in a Find & Replace?
in thread Removing the carriage return in a Find & Replace?

I just tried mscharrer variation on this and it worked!
perl -i -pe 'BEGIN { undef $/ } s/<TD>\s*<FONT\s+FACE=arial\s+SIZE=-1>/widget/g' test.html

Thanks so much!
Bob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://713896]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-03-28 10:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found