<(form)(\s)[^>]*action=[\"']?(\S)+[\"']?[^>]*>
the problem is that i found some from thus (google case) <form action=/search name=f>
the problem is that dont have quotes, and if i left the "?" like i shown in my regex it can confuce with others because if the first part didnt has quotes the end of that can. How can i say that if appear at the begining finish with that too? and other thing.. this regex that i was testing
<(form)(\s)[^>]*action=(\S)+[^>]*>
didnt work noone, i dont know how to take the address of action from a form that have this address without quotes. How would it be?
Before all, Thank you by read that.