Problem with regular expressions

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rlebek
Forum Newbie
Posts: 2
Joined: Sat Jun 15, 2002 5:33 pm
Location: Germany

Problem with regular expressions

Post 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
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post by jason »

What does your regular expression look like?
Post Reply