Thanks a lot Kent, that indeed solves the issues altogether.
Cheers
Bernard
On 5/3/07, Kent Johnson <[EMAIL PROTECTED]> wrote:
> Bernard Lebel wrote:
> > Hello,
> >
> > Once again struggling with regular expressions.
> >
> > I have a string that look like "something_shp1".
> > I want to repla
Bernard Lebel wrote:
> Hello,
>
> Once again struggling with regular expressions.
>
> I have a string that look like "something_shp1".
> I want to replace "_shp1" by "_shp". I'm never sure if it's going to
> be 1, if there's going to be a number after "_shp".
>
> So I'm trying to use regular exp
Hello,
Once again struggling with regular expressions.
I have a string that look like "something_shp1".
I want to replace "_shp1" by "_shp". I'm never sure if it's going to
be 1, if there's going to be a number after "_shp".
So I'm trying to use regular expression to perform this replacement.
Bu