Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <cfset replink="http://www.amazon.com/exec/obidos/ASIN/\1/metafilter-20/ref=nosim/">
- <cfset link_url=REReplace(link_url, "http:\/\/[^>]*?amazon.com\/[^>]*?ASIN\/([0-9a-zA-Z]{10}).*", replink, "all")>
- <cfset link_url=REReplace(link_url, "http:\/\/[^>]*?amazon.com\/gp\/product\/([0-9a-zA-Z]{10}).*", replink, "all")>
- <cfset link_url=REReplace(link_url, "http:\/\/[^>]*?amazon.com\/exec\/obidos\/tg\/detail\/-\/([0-9a-zA-Z]{10}).*", replink, "all")>
- <cfset link_url=REReplace(link_url, "http:\/\/[^>]*?amazon.com\/[^>]*?dp\/([0-9a-zA-Z]{10}).*", replink, "all")>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement