Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^7: Regex problem while parsing tagged, hierarchical data

by Mago (Parson)
on Sep 19, 2006 at 14:28 UTC ( #573734=note: print w/replies, xml ) Need Help??


in reply to Re^6: Regex problem while parsing tagged, hierarchical data
in thread Regex problem while parsing tagged, hierarchical data

33 chars !
perl -pi -e '/l1(\sid=.*)>/?$a=$1:s;l2>;l2$a>;' input


Mago
mago@rio.pm.org


Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://573734]
help
Chatterbox?
[arunks]: do you have any sample code .please share it. am looking for before opening excel file prompt should ask for password to open the excel file.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2017-01-20 14:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (174 votes). Check out past polls.