I have a form like this:
<form id="search" method="get" action="search.php">
<input type="text" name="query" value="Search"/>
<input type="submit" value="Submit">
</form>
And i want the values in this oder: method action names
["get", "search.php", ["query"]]
I don't know how to do it in regex. Because this is also multilined string. I am also very new to regex.