My first code..
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; on $*:text:/^!google/Si:#: if (!$2) { halt } | .msg # [Google] $+(www.google.com,/,$2-)
Well jonesy, you can also use ^ inside [ ]'s to not include. Like [^something]
And there's no need for regex anyway.
Ahh okay IFHTT .. it's different in PHP then :P
ok how do yu use it
^ indicates that the match is at the beginning of a string in regex
doesn't /^ mean string does not contain following text? :/ or is that just reg-ex's
I don't think it'll work unless you use a replace to change the spaces to +.
Also you have to add /search?q= to the url otherwise google will not search for the query.
$+(www.google.com/search?q=,$replace($2-,$chr(32),+))