[wplug] regex help

Russ Schneider russ at sugapablo.com
Mon Jan 12 14:17:27 EST 2004


On Mon, 12 Jan 2004, Embery, Nathan wrote:

> Close. That will match everything up until the last ">" that the string
> contains, which might not be what you want. You probably want to add the
> non-greedy modifier on like this:
> /<td.*?>/

His suggestion did seem to work, but I'll try this too.
 

> That should do it. Is this for PHP?

Yes.  I'm fairly good at PHP in general but I must admit, I'm a regex 
dunce.

-- 
[ Russ Schneider (a.k.a. Sugapablo)     ]
[ http://www.sugapablo.com <--music     ]
[ http://www.sugapablo.net <--personal  ]
[ sugapablo at 12jabber.com   <--jabber IM ]



More information about the wplug mailing list