RegExp question…

By CyanBlue | Jan 12, 2009

actionscript3

If you have <img src.+?\".+?\".*?>, this matches <img src="/dir/images/rsvp.gif" title="RSVP for this event" alt="RSVP" style="padding:0px;"> and <img src="http://domain.com/dir/images/rsvp.gif" title="RSVP for this event" alt="RSVP" style="padding:0px;">, but how do you make it to match the first one that is relative path that I’m trying to get rid of but keep the one with the full path…

Thanks… ;)

actionscript3

Please reply at our Forum

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

Comments

© 2007 ActionScript 3.0