On Sep 26, John W. Krahn said:
>Shaun Bramley wrote:
>>
>> 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
Shaun Bramley wrote:
>
> 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.
>
This should work
split(/[;\/]+/,$authors[$x])
Shaun Bramley wrote:
> 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]); howeve
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 re