regex problem - 01/06/07 12:01 AM
Code:
alias testing { var %data = <td valign=middle align=left nowrap><a href="somelink" class="rmlist" >Chat Cafe</a></td><td>some topic here</td><td style="text-align: right">5</td><td>Dutch</td> if ($regex(%data, class=\"rmlist\" \>(.*)\<\/a\>)) { echo -a $regml(1) } }
It echos the roomname - Chat Cafe. Fine..
But how can i get the room topic within $regml(2) ?
some topic here
the problem is how do i search up until the next </td> ?