09-11-2007, 06:22 PM
Ok I know I'm doing this all wrong lol but I'm trying to learn. I have been reading about Regular expression syntax, but I still haven't got it down to well could you please tell me what I'm doing wrong here.
I am trying to get the code between <BLOCKQUOTE>HERE<BLOCKQUOTE>
Function ( Function2 )
I am trying to get the code between <BLOCKQUOTE>HERE<BLOCKQUOTE>
Function ( Function2 )
str n a google="http://www.spellcheck.net/cgi-bin/spell.exe?action=CHECKWORD&string=runnning"
Http b.GetUrl(google &a)
if(findrx(a "\b<BLOCKQUOTE>([^[]]+).*<\/BLOCKQUOTE>" 0 0 n 1)<0) end "No Search Results"
out n
;<P><B>Here are some suggestions:</B><BLOCKQUOTE>
;running<BR>
;ruminating<BR>
;Rumanian<BR>
;rummaging<BR>
;rumbaing<BR>
;rumbling<BR>
;ruminatingly<BR>
;Rumanians<BR>
;rumblings<BR>
;rumoring<BR>
;rumpling<BR>
;rumination<BR>
;runnier<BR>
;rumrunning<BR>
;run<BR>
;</BLOCKQUOTE>