It's Friday, so I may be wrong but...

$_ = '__---*&^Test';
/([a-z0-9])/i;
print $1;

gives me: T

-----Original Message-----
From: Arnold, Mark D [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 21, 2003 2:53 PM
To: [EMAIL PROTECTED]
Subject: First alphanumeric character

I suppose this should be easy, but I can't seem to figure it out. How
would I grab the first alphanumeric character of a title (ignoring
quotes or other punctuation)?

Mark Arnold
SMSU Libraries
Southwest Missouri State University
Springfield, Missouri


http://www.gordano.com - Messaging for educators.

Reply via email to