On Nov 12, 7:51 pm, [EMAIL PROTECTED] (Gunnar Hjalmarsson) wrote:
> s/\.0+(?=[1-9])/./;
Thank you Gunnar. This did exactly what I needed.
Dan Lamb
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hey guys,
I need a regex to remove zeros after the . in a file name if they are
followed by another digit.
Example: XX.001 becomes XX.1
Any ideas? I've been banging my head on my desk for an hour over
this.
Thanks,
Dan Lamb
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition