2 using bytex64.WebThing;
3 using System.Text.RegularExpressions;
5 public class GoogleSearch : WebThingPlugin, ISearchPlugin {
6 public string SearchTransform(string search) {
7 string[] words = Regex.Split(search, @"\s+");
8 return String.Format("http://google.com/search?q={0}", String.Join("%20", words));