1
<html>
<head><title>Example page</title></head>
<body>
<textarea name="description">This is some text</textarea>
<input type='text' name='bla' value='a textinput' />
<textarea name="interests">What i like to do</textarea>
</body>
</html>
上面的html代码是变量的值。我想抓住所有的textareas并用某些东西代替它们。什么是摆脱后面的字符串数组方式:查找textarea并用其他东西替换
1: <textarea name="description">This is some text</textarea>
2: <textarea name="interests">What i like to do</textarea>