in reply to A Quick Regex Question
while (<>) { print if lc(join '',sort split//) =~ /e.*l.*p.*r/; } [download]