Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 surveying the Monastery: (5)
As of 2014-11-23 16:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls