Hello Hauke and everyone else that commented, many thanks all. I have taken note about the correct way to submit a questions and how to do regex the right way. In the end I really liked the easier method by Hauke, if (/\Q$datestring/ && /ERROR|WARN/) This worked a treat, so thanks again, I'll play around with the Regex way and see if I can get that working. :-)
In reply to Re^2: Scan Files - Match String
by deelinux
in thread Scan Files - Match String
by deelinux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |