Hi all,
I need some help with figuring out how to use php's regex functions..
I need to use it right now for some validation.
Basically I have a form where users can say wether or not they want a background a color by way of using HEX code or basic text reference.
Or if they want to use an image they enter in the image path.
So I need to run a regex pattern match on the input to tell wether or not its a URL to a image or if its a hex/color code.
Thankz
`eff