> So my conditionals are
> 1.) is a valid domain name
> 2.) is an IP address
You did search, didn't you?
Googling with your exact wording delivered tons of regex solutions.
So what's wrong with them? =)
Cheers Rolf
( addicted to the Perl Programming Language)
In reply to Re: How to best filter/direct data based on input structure?
by LanX
in thread How to best filter/direct data based on input structure?
by taint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |