Recent Posts
None | 58 sec ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
None | 2 min ago
AutoIt | 2 min ago
None | 2 min ago
None | 2 min ago
None | 2 min ago
C++ | 3 min ago
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
By mathowie on the 4th of Mar 2008 05:15:48 PM
Download |
Raw |
Embed |
Report
<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")>
Submit a correction or amendment below.
Make A New Post