Is there a way to grep html text from a curl request and output grab the value that is between two html tags?
More specifically the input value of a form?
You can read content out of html downloaded via
You can also do it with
However, input forms only have content in the fields when some person or process fills it in locally before submitting it via a POST (or less likely a GET) request.
Input forms can have default values obviously, but it seems what you're asking is if you can somehow pull the data out of a form that's been filled in, the answer is not from curl, because curl asks the web server for the web page and you get an empty form.
Maybe you could clarify what you're trying to achieve.