Florian Diesch schrieb:
> "Michael M." <[EMAIL PROTECTED]> wrote:
>
>> In Perl, it was:
>>
>>
>> ## Example: "Abc | def | ghi | jkl"
>> ## -> "Abc ghi jkl"
>> ## Take only the text betewwn the 2nd pipe (=cut the text in the 1st
>> pipe).
>> $na =~ s/\ \|(.*?)\ \|(.*?)\ \|/$2/g;
>>
>>
"Michael M." <[EMAIL PROTECTED]> wrote:
> In Perl, it was:
>
>
> ## Example: "Abc | def | ghi | jkl"
> ## -> "Abc ghi jkl"
> ## Take only the text betewwn the 2nd pipe (=cut the text in the 1st
> pipe).
> $na =~ s/\ \|(.*?)\ \|(.*?)\ \|/$2/g;
>
> ## -- remove [ and ] in text
> $n
Paddy wrote:
> Michael M. wrote:
>
> > In Perl, it was:
> >
> >
> >## Example: "Abc | def | ghi | jkl"
> >## -> "Abc ghi jkl"
> >## Take only the text betewwn the 2nd pipe (=cut the text in the 1st
> > pipe).
> >$na =~ s/\ \|(.*?)\ \|(.*?)\ \|/$2/g;
> >
> >## -- remove [
Michael M. wrote:
> In Perl, it was:
>
>
>## Example: "Abc | def | ghi | jkl"
>## -> "Abc ghi jkl"
>## Take only the text betewwn the 2nd pipe (=cut the text in the 1st
> pipe).
>$na =~ s/\ \|(.*?)\ \|(.*?)\ \|/$2/g;
>
>## -- remove [ and ] in text
>$na =~ s/\[//g;
>
On Sat, 2007-01-06 at 15:43 +0100, Michael M. wrote:
> In Perl, it was:
>
>
>## Example: "Abc | def | ghi | jkl"
>## -> "Abc ghi jkl"
>## Take only the text betewwn the 2nd pipe (=cut the text in the 1st
> pipe).
>$na =~ s/\ \|(.*?)\ \|(.*?)\ \|/$2/g;
>
>## -- remove [
"Michael M." <[EMAIL PROTECTED]> writes:
> In Perl, it was:
>
>
> ## Example: "Abc | def | ghi | jkl"
> ## -> "Abc ghi jkl"
> ## Take only the text betewwn the 2nd pipe (=cut the text in the 1st pipe).
> $na =~ s/\ \|(.*?)\ \|(.*?)\ \|/$2/g;
>
> ## -- remove [ and ] in text
> $na