我想在<body>
标记示例之后找到所有以两个斜杠开头的字符:-
http://www
// this is first comment
<body>
<div>
// this is comment
<p>//this is another comment.
所以我想同时匹配两者:
// this is comment.
//this is another comment.
但不是:
//www
// this is first comment
这只是一个例子,它可能还包含数字和括号。语言 php 只想要正则表达式