안녕하세요, 저는이 사이트 (http://grecni.com/texttwist.php)에서 단어/결과를 보완 할 스크립트를 만들고 있습니다. 따라서 이미 http 요청 게시물을 준비하고 있습니다. 내가 지금 필요regex/ruby 도움말
만 가지 단어를 가져올 것입니다, 그래서 내가 그렇게처럼 보이는 HTML 소스와 함께 일하고 있어요 : 나는 단어 "SAE"와 같은 가져 오기 위해 노력하고
<html>
<head>
<title>Text Twist Unscrambler</title>
<META NAME="keywords" CONTENT="Text,Twist,Text Twist,Unscramble,Free,Source,php">
</head>
<body>
<font face="arial,helvetica" size="3">
<p>
<b>3 letter words</b><br>sae sac ess aas ass sea ace sec <p>
<b>4 letter words</b><br>cess secs seas ceca sacs case asea casa aces caca <p>
<b>5 letter words</b><br>cacas casas caeca cases <p>
<b>6 letter words</b><br>access <br><br>
Found 23 words in 0.22962 seconds
<form action="texttwist.php" method="post">
enter scrambled letters and I'll return all word combinations<br>
<input type="text" name="l" value="asceacas" size="20" maxlength="20">
<input type="submit" name="button" value="unscramble">
<input type="button" name="clear" value="clear" onClick="this.form.l.value='';">
</form><p>
<a href=texttwist.phps>php source</a>
- it's kinda ugly, but it's fast<p>
<a href=/>back to my page</a>
</body>
</html>
, "sav", "secs", "seas", "casas"등이 있습니다.
어떤 도움이 필요합니까?
이
내가 여기에서 무엇을 : link text어떤 제안을 모르는 왔 먼? 도움?
이 질문을 살펴보아야합니다. http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454 –