The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
amazon link regex help
Hi guys,
I'm trying to replace a normal amazon.de Link oder any amazon.de Link with a affiliate ID to my own: http://www.amazon.de/exec/obidos/ASI...904298-7328563 --> http://www.amazon.de/exec/obidos/ASI...G/chemieonline I wrote a function for it but have some probs. There must be a whitespace at the endling of the string. otherwise if the url is the last thing in the string it won't work... I added an extra whitespace at the end in the funktion. Also if the link ends like http://www.amazon.de/exec/obidos/ASI...904298-7328563[ /url ] the [ /url ] get cut of... Need a little help as I'm not that regex guy: PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|