What you are looking for is s/(\&)$//; Alan Swan ----- Original Message ----- From: Rhonald Lua <[EMAIL PROTECTED]> Sent: Tuesday, May 23, 2000 4:23 PM Subject: Re: dates > How does one use '$' to get the pattern at the end of string? > For example, I want to remove '&' at the end of 'hello&'. PERL docs > indicate I could write: > s/$(\&)//; > but doesn't seem to work. --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [EMAIL PROTECTED] For non-automated Mailing List support, send email to [EMAIL PROTECTED]