Re: Help with regular expressions within a split statement

2002-09-26 Thread Jeff 'japhy' Pinyan
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

Re: Help with regular expressions within a split statement

2002-09-26 Thread John W. Krahn
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. >

Re: Help with regular expressions within a split statement

2002-09-25 Thread Rohit Mishra-R53658
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

RE: Help with regular expressions within a split statement

2002-09-25 Thread Timothy Johnson
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