php - Regular Expressions - Match inside a Match -
i trying find way match inside match. still reading oreilly's book on regular expressions, have now:
i need values inputs inside form. page contains multiple forms, similar this:
type="checkbox" value="([^"])"
but need target checkbox values inside specific form. using preg_match way.
p.s. know form preg_match first, , match inside result, i'm wondering how in regex.
preg_match("|type=\"checkbox\" value=\"(.*?)\"|");
Comments
Post a Comment