Page 1 of 1

Problem with regular expressions

Posted: Sat Jun 15, 2002 10:58 pm
by rlebek
Hi,

I have the following problem and i hope someone can help me.

This is my html-Code:

<TD class=norm noWrap align=right>311</TD>
<TD class=norm align=right>156&nbsp;</TD>
<TD class=norm align=right>31&nbsp;</TD>
<TD class=norm align=right>96&nbsp;</TD>
<TD class=norm align=left>&nbsp;UserService</TD>

Now I need to get the numbers (311,156,31,96) and the word UserService. I tried it with preg_match and preg_match_all but it didn“t work.

I hope someone can help me....

Thanks a lot
Ronny

Posted: Sun Jun 16, 2002 10:21 am
by jason
What does your regular expression look like?