Hello All,
I am trying to get a regular expression code for the following string using preg_match_all. Can any one please help?
Sample html:
<input value="MOS-STD-800x600" id="cli_lineitem_name_777984819" type="hidden">
Value to return: MOS-STD-800x600
Here 777984819 can change to different values from DB
am currently using this one that just scans for all input tags:
preg_match_all('/<input[>]*>/Ui', $html, $matches);
Any help will be greatly appriciated!!