Does this work?

split(/(;|\/+)/,$authors[$x])

-----Original Message-----
From: Shaun Bramley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 25, 2002 10:01 PM
To: [EMAIL PROTECTED]
Subject: Help with regular expressions within a split statement


I have data that for some god foresaken reason is using two or three methods
of delimitting names.  Some are delimitted using '//' others with ';'.

I have tried using @names = split( /(;)|(\/\/)/, $authors[$x]);  however
this doesn't have the intended result.

Is this possible?  or am I doing something wrong??

please help

Shaun

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to