while (my $line = <$IN> ) { $line =~ s/Weiß/Schwarz/g if /\sb\s/ .. (not /\sb\s/); [download]
In reply to Re: Regex with condition by Laurent_R in thread Regex with condition by OldChamp