Re: [Resin-interest] Quercus - preg_replace problem
Hi, Please ignore the previous mail. preg_replace is working well. Thanks, Anoop Anoop K Achuthan wrote: > Hi, > > I use the following code to manipulate a URL to insert a port number. > > --- >
[Resin-interest] Quercus - preg_replace problem
Hi, I use the following code to manipulate a URL to insert a port number. --- http://example.com/test";; $pattern = "/(http:\/\/)([^\/]+)\/(.*)/i"; $replacement = "$1$2:81/$3"; echo preg_rep