Team:Warsaw/JSTest
From 2008.igem.org
(Difference between revisions)
Line 96: | Line 96: | ||
//ans=ans.replace("<h3></h3>",""); | //ans=ans.replace("<h3></h3>",""); | ||
h3=new RegExp(/<(h3).*>(.*)<\/\1>/); | h3=new RegExp(/<(h3).*>(.*)<\/\1>/); | ||
- | |||
- | |||
- | |||
- | |||
- | + | var topics=ans.split(h3); | |
- | var | + | for (var i=0;i<topics.length;i++)return topics[i]; |
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
return "Search Error"; | return "Search Error"; | ||
Revision as of 23:47, 25 October 2008
|