Specific Regular Expression issue
| From: | Jim MacDiarmid | Date: | Thu, 04 Mar 2004 14:15:07 +0000 |
| Subject: | Specific Regular Expression issue | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-23055@lists.php.net to get a copy of this message | ||
Could someone shed some light on this for me? I'm trying to capture the
URL and the Numerical count from the following line:
Trav2.http://travelersnetwork.net/Nick/HoneyIsland.dsv..fd287747
HAS 0
spaces
This is what I'm using as a regular expression and it's results
\s+Trav[0-9]\.(http://[^\s]+)
http://travelersnetwork.net/Nick/HoneyIsland.dsv..fd287747
How can I select just the url, excluding the two dots and the hex
address?
Thank you,
Jim