摘要: #vim title.txtnhlinkin# cat title.txt | sed 's:.*\([^代表前面的所有内容,包含本身。3 [^后面的内容。4 .* 代表以后面的部份,即后面的所有内容,包含本身。另:# echo 'games.sina.com.cn' | sed 's:.*\([^最接近要取的title。 阅读全文