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

Popular posts from this blog

razor - Is this a bug in WebMatrix PageData? -

c# - How to set Z index when using WPF DrawingContext? -

c# - Cloning WPF controls and object hierarchies -