if ($form{'webcam'} =~ /http|www/i)
You'll also note that I have added the i option to the match to perform case-insensitive matching - This allows your regular expression to match these terms within your hash, irrespective of the string case. Again, read about this in perlman:perlre.
In reply to Re: regex question
by rob_au
in thread [untitled node, ID 168354]
by Samn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |