develooper Front page | perl.beginners | Postings from March 2002

replacing last 4 digits

Thread Next
From:
Sethi, Pradeep
Date:
March 4, 2002 15:37
Subject:
replacing last 4 digits
Message ID:
2BE9E62E20307E4187358C5B3887B7340E7DDD@sjc-exm-20.corp.ebay.com
Hi,

I have a number 342389842452.

how do a substitute of everything with X but last 4 digits using regular
expressions

like xxxxxxxx2452

Thanks

Prad

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About