Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(Solved)...get word from HTML
#5
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 )
Code:
Copy      Help
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>


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)