<RegExp input="$$1" output="<url function="GetTrailer1">http://www.site.com/?q=\1</url>" dest="5+">
This returns the url with the found expression. eg "http://www.site.com/?q=The Movie". But somehow this url returns an error in curl. If the url was "http://www.site.com/?q=The%20Movie", everything would work. How can I replace all the space found from the expression with %20?
btw, would trim help me here?