繁体   English   中英

检查html中是否存在某个单词,并在该单词之后附加一个注册商标符号

[英]check if a word exist in html and append a registered trademark symbol after that word

美好的一天。

是否可以检查HTML页面中是否存在某个单词,并且是否存在该单词,请在该单词之后附加上标注册商标符号

的PHP:

$document = 'A string containing the contents of the html document.';
str_replace('Nike','Nike™',$document);

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM