regexp samples

- <a id="item_(\d+)_0.*\s*href="(.*)"></a>

match:
<a id="item_51_0"
href="d/569-5/IMG_6581.JPG"></a>  
http://www.gskinner.com/RegExr/

This entry was posted in Code Snippets. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s