I am trying to find a way to match something inside a match. I am still reading oreilly's book on regular expressions, but this is something I have to do now:
I need to get all the values from the inputs inside a form. The page contains multiple forms, so normally I would do something similar to this:
type="checkbox" value="([^"])"
But now I need to target all the checkbox values inside the specific form. Using preg_match by the way.
p.s. I know I could get the form with preg_match first, and the match inside that result, but I'm wondering how to do this in regex.