I'd probably do it as:

s/(\..*?)\z//;

Cheers,
D.

On Feb 11, 2008 7:14 AM, <[EMAIL PROTECTED]> wrote:

> Hi All,
>
> I have string like this. D.PRS.WEB.02.10.001.1 and my requirement is
> that I want to remove last dot (.) and all the characters/digit after
> that dot with the help of regular expression.
>
> Please help.
>
> Regards
> Irfan.
>
> Project Lead
> TSINDIA - Production Line
> Individual Software Solutions - UMO
> T-Systems India Private Limited, Pune
> Telephone: +91-20-30245000/25605000 (Extn: 5406)
> Mobile: +91 9822 854 227
> Fax: ++91-020 25674090
> Internet: http://www.t-systems.com
> <blocked::blocked::http://www.t-systems.com/>
>
>


-- 
David Moreno - http://www.damog.net/
Yes, you can.

Reply via email to