If your $element = "WEED BECAUSE PIPES KILLD THE PIES WITHOUT DIAL. PIPES ARE NOT GOOD FOR PIES.";
his multi-regex solution will tolerate use of /g, and -- with the addition of this code,
if (@matches) { for ( @matches ) { say $_; } }
-- will produce this output:
WEED DIAL PIES PIES KILLD
In reply to Re^2: and or statement
by ww
in thread and or statement
by endsin1m
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |