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>/); | ||
- | alert(ans. | + | alert(ans.split(/<h3>.*<\/h3>/i)); |
var topics=ans.split(/<h3>.*<\/h3>/i); | var topics=ans.split(/<h3>.*<\/h3>/i); | ||
return topics[0]; | return topics[0]; |
Revision as of 00:06, 26 October 2008
|