Hi, does anyone know what the regex would be to pull the values from a form tag out? eg <form name="hello" action="post.php" method="POST">
How would I get those values out? Thanks
Try this regular expression:
\s+([^"'=]+)=(["'])([^\2]+)\2
If everything goes to plan, this will put the parameter name in match[1], either ' or " in match[2] and the value of the parameter in match[3]