I need a Regex to get //
, but if it starts with http://
for it to do nothing.
Example:
<?php
function lol(){
// blabalbal
} // catch'm all
echo 'http://link.com.br'; // this is a link.
Need to catch:
// blabalbal line
// catch'm all line (starting on "// catch")
// this is a link (starting on "// this").
I was trying with variations of: '///(.*)$
'
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…