Printable Version of Topic

Click here to view this topic in its original format

AMIP Community _ Support _ MSN + Youtube query?

Posted by: Harakiri Feb 14 2011, 12:35 AM

Hello there,

First and foremost i would like to thank everyone involved in the creation of AMIP.

I'm trying to create a regex that outputs a query link for youtube using the %name variable:

http://www.youtube.com/results?search_query=$strrep( ,_,%name)

This regex is seriously flawed for 2 main reasons, the results are presented with underscores (MSN needs them to parse the link correctly) and if the variable contains the character "&" the link is incorrectly parsed.

I lack the skills to refine this regex in order to circumvent at least one of this two problems. Can you help me? smile.gif

Thanks in advance!

Powered by Invision Power Board
© Invision Power Services