
melco
Novice
Jun 12, 2006, 11:25 PM
Post #3 of 5
(1419 views)
|
|
Re: [KevinR] Multiple matching
[In reply to]
|
Can't Post
|
|
Nop, it was not question about split syntax. It's about Regexp and it was simple situation... Really i have more complex task. I have
my $str = "melco@yandex.ru,(fred,barney,tom)@domain.com,juice@some.co.uk,..........,(email_N,email_N_plus_1)@domain2.com,somemail_N_plus_2@something.net" I need to split it to:
$a[0] = "melco@yandex.ru" $a[1] = "(fred,barney,tom)@domain.com" $a[2] = "juice@some.co.uk" ..... $a[$n] = "(email_N,email_N_plus_1)@domain2.com" $a[$n+1] = "somemail_N_plus_2@something.net" This is my real task. Sorry for my wrong first question Thank you all!
|