Using sed : sed -E 's/page ([0-9]+)/<a href="#p\1">page \1<\/a>/' file. You can redirect this to a new file using > newfile or use the -i ...
確定! 回上一頁