Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: simple regexp question

by sen (Hermit)
on Nov 21, 2007 at 09:50 UTC ( #652090=note: print w/ replies, xml ) Need Help??


in reply to simple regexp question

i think, it works, if i understand your reqirement,

$strTest =~ s/(.*?)(&)(.*?)(;)/$1$2$3 $4/g;


Comment on Re: simple regexp question
Download Code
Re^2: simple regexp question
by KarthikK (Sexton) on Nov 21, 2007 at 10:50 UTC
    This pattern seems to work. but i will try and do some more testing with my req. thanks a lot

    regrads
    Karthik

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2014-09-15 10:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (146 votes), past polls