スパンタグ間の文字列に、長さが少なくとも2文字のすべての単語を囲む必要があります。すべての疑問符、句読点などはスパンの外に残す必要があります(a-zとñ、á、éなどの特殊文字も保持する必要があります)。すべての単語をhtmlタグで文字列に囲みますか?
ので、この:任意のアイデア
<a href=http://example.com/prenda>Prenda</a> <a href=http://example.com/de>de</a> <a href=http://example.com/vestir>vestir</a> <a href=http://example.com/que>que</a>
<a href=http://example.com/se>se</a> <a href=http://example.com/ajusta>ajusta</a>? A <a href=http://example.com/la>la</a>
<a href=http://example.com/cintura>cintura</a> y <a href=http://example.com/llega>llega</a>
<a href=http://example.com/generalmente>generalmente</a> <a href=http://example.com/hasta>hasta</a> <a href=http://example.com/el>el</a> <a href=http://example.com/pie>pie</a>.
:
Prenda de vestir que se ajusta? A la cintura y llega generalmente hasta el pie.
はこのことでしょうか?ありがとう!代わりに、この
多分それは役立ちます(http://stackoverflow.com/q/1732348/ 596781)最初に。 –
正規表現を使用して、 – kol