On 3/15/2010 5:03 PM, Jim Lucas wrote:
Al wrote:
Anyone have a regex pattern for deleting multiple backslashes e.g., \\\
I pretty good with regex; but, be damned if I can delete them with
preg_replace()
I've tried "" as the manual says
preg_replace("//", '', $str);
preg_replace
Al wrote:
> Anyone have a regex pattern for deleting multiple backslashes e.g., \\\
>
> I pretty good with regex; but, be damned if I can delete them with
> preg_replace()
>
> I've tried "" as the manual says
>
> preg_replace("//", '', $str);
>
> preg_replace("/()+/", '', $str);
On 3/15/2010 3:30 PM, Ashley Sheridan wrote:
On Mon, 2010-03-15 at 15:35 -0400, Al Rider wrote:
On 3/15/2010 3:11 PM, Ashley Sheridan wrote:
On Mon, 2010-03-15 at 15:03 -0400, Al wrote:
Anyone have a regex pattern for deleting multiple backslashes e.g., \\\
I pretty good with regex
Double check your code I came up with the same solution as Ash did and it
worked fine in Wamp.
On Mon, Mar 15, 2010 at 3:30 PM, Ashley Sheridan
wrote:
> On Mon, 2010-03-15 at 15:35 -0400, Al Rider wrote:
>
> >
> >
> > On 3/15/2010 3:11 PM, Ashley Sheridan wrote:
> >
> > > On Mon, 2010-03-15 at 15
On Mon, 2010-03-15 at 15:35 -0400, Al Rider wrote:
>
>
> On 3/15/2010 3:11 PM, Ashley Sheridan wrote:
>
> > On Mon, 2010-03-15 at 15:03 -0400, Al wrote:
> >
> > > Anyone have a regex pattern for deleting multiple backslashes e.g.,
> > > \\\
> > >
> > > I pretty good with regex; but, be
On Mon, 2010-03-15 at 15:03 -0400, Al wrote:
> Anyone have a regex pattern for deleting multiple backslashes e.g., \\\
>
> I pretty good with regex; but, be damned if I can delete them with
> preg_replace()
>
> I've tried "" as the manual says
>
> preg_replace("//", '', $str);
>
>
6 matches
Mail list logo