Regular expression help

From: Date: Wed, 25 Aug 2004 06:53:53 +0000
Subject: Regular expression help
Groups: php.general 
Request: Send a blank email to php-general+get-194660@lists.php.net to get a copy of this message
I'm trying to figure out how to formulate a regular expression that will get me everything following a pound sign (#) up to the first space or { character. (I'm trying to parse the ids out of a style sheet.) Can anyone point me in the right direction? I've been searching on the web for hours and reading everything I can find on regular expressions, but I just can't wrap my brain around it. Thanks.

« previous php.general (#194660) next »