Hi All
I wanted to extract the input tags, selects tag and text area tag from an HTML file or php file or any other text file. But I am separately able to extract them but did not know how to combine them using OR function. How can I use the OR fuction with preg_match. Like I want either input tag or select tag ór text area tag.
To extract input tag I have used the following funtion.
preg_match_all("|<input type=\"([>].)\".name=\"([>].)\"(.)+>|",$fileprint,$matches);
Pls answer
thanx