Hi all,
I am new in learning regular expressions and I need a little bit help.
How do I match input type elements from a site.
I need to match all and in case that type of input is text (type="text"), I have to check if value attribute exists .
The type could be in every possible position in the element such as <input type="text" value="Login" ...> or <InPut value="Password" type="text" ...>
If exists input element and every input element have value print --> OK
In other case , print --> input element does not have value attribue
else print --> I did;t find input element.
And something finally, I would like to check also textareas.
The different is that I have to check if text exists between <textarea ...> and </textarea>