Thread Regular Expression: Ich suche mal wieder ein Regexp .... (17 answers)
Opened by BrownWolf at 2003-09-20 20:34

format_c
 2003-09-20 21:32
#54452 #54452
User since
2003-08-04
1706 Artikel
HausmeisterIn
[Homepage] [default_avatar]
Achso. Sag doch dass mehrere Treffer vorkommen können.
Indem Fall:
Code: (dl )
1
2
3
4
5
local $/;
my $line = <DATA>;
my @matched = $line =~ /"(.*?)"/sg;
local $, = '|';
print @matched;


gruß Alex

View full thread Regular Expression: Ich suche mal wieder ein Regexp ....