Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by broomduster (Priest)
on Sep 26, 2008 at 13:07 UTC ( #713872=note: print w/replies, xml ) Need Help??


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

Did you try Fletch's suggestion? On a Mac (which shouldn't matter much for this):
-> cat junk.html _ABC_<TD> <FONT FACE=arial SIZE=-1>_XYZ_ -> perl -00pe 's/<TD>\s*<FONT FACE=arial SIZE=-1>/widget/g' junk.html _ABC_widget_XYZ_

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://713872]
help
Chatterbox?
[Discipulus]: yes i saw your cell brother..
[Discipulus]: but now fuel is cheap and they still make some war.
[Discipulus]: capitalism is able to go to war by cycle, even.
[shmem]: some? are you jokin' ?
[shmem]: fuel is only one fuel that fuels the fools... it is all about power and control - which NOBODY will have.
[shmem]: ...can't have, since silly

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2017-04-29 22:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (534 votes). Check out past polls.