On Mon, Aug 06, 2001 at 02:05:00PM +0930, Daniel Falkenberg wrote: > I have the number '08' and I want to serch for the '0' and repalce with > nothing '' being left with only '8'. If all you have is '08' you don't need a regular expression to strip off the 0, and a regex would be a bit of overkill. Simply treat the number as a number and it will come out as '8'. Without specifics on why you want to accomplish this I, naturally, can't give you specific examples, but here are a few that illustrate my point. $num = '08'; print $num + 0; printf "%d", $num; $newnum = 8 * ($num + 4); Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]