Thread Hilfe zu negiertem Regex
(6 answers)
Opened by bob.george at 2013-06-21 09:43
Hallo bob.george,
so gehts: Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 #!/usr/bin/perl use strict; use warnings; my $input = "-- -----"; if($input !~ /^\*\*\*INPUT STATEMENT:/i){ print "Treffer: ".$input."\n"; } HTH Grüße payx |