Hahaha!  I use perl infrequently and when I do I use it to use other COM
objects that I write in other languages.  But I love the language.

Chris Cappelletti
IT Programmer/Analyst, Sr.
TTM Technologies
Desk: 425-202-9326
Cell:  425-246-8295
[EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of pDale
Campbell
Sent: Wednesday, March 16, 2005 11:28 AM
To: [email protected]
Subject: Re: RegExp help

Chris Cappelletti wrote:
> I don't write regular expressions...ever...

Then you're probably using the wrong language.


> So can someone give me a regular expression that will remove all of the
> characters at the start of a string up to and including a "-" (without
> quotes).

$title =~ s/^[^-]*-//;


-- 
pDale Campbell
"Come to think of it, there are already
  a million monkeys on a million typewriters,
  and Usenet is NOTHING like Shakespeare."
    -- Blair Houghton (1993?)
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to