Alawi, You should get some sort of "nothing to repeat" error. Try moving the * to a + and putting it after the [0-9]. I'm not sure that the * is picking up anything, because it's not preceded by anything. It could be that your $html doesn't match quite right, too (tabs and newlines differ from $html to the regular expression). So I tried this with success: $html =<<<EOB <TR><TD bgColor=#e4e4e4><P><B>test:</B></P></TD> <TD><P>98938</P></TD></TR><TR> EOB; preg_match_all("/<TR><TD bgColor=#e4e4e4><P><B>test:<\/B><\/P><\/TD> <TD><P>([0-9]*)<\/P><\/TD><\/TR><TR>/",$html,$match); print_r($match); Hans On Thu, 7 Oct 2004, Alawi Albaity wrote: > How can I grap number written in specifec place in html > I try this : > preg_match_all("/ <TR> > <TD bgColor=#e4e4e4> > <P><B>test:<\/B><\/P><\/TD> > <TD> > <P>(*[0-9])<\/P><\/TD><\/TR> > <TR>/",$html,$match); > its not work > How can I do that > > > -- > Alawi Albaity > Jeddah - KSA > Mobile : +966506660442 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php