"dbdariusz" <db*******@gmail.comwrote in message
news:be**********************************@s19g2000 prg.googlegroups.com...
Hi
input:
<!-- comment -- <script><!-- comment --</scritp <!--
comment -->
output:
<script><!-- comment --></scritp>
Now I can find just every comment:
<!--.*?-->
maybe sombody help me..thx
OK, first a little scolding, LOL. This isn't written as a PHP question and
even if it were, you would have to specify what flavor of regex you are
using.
It really should be reasonably easy to do if you understand how to use
possessive quantifiers. IIRC, PCRE is better/easier for possessive
quantifiers than POSIX, although I don't know much about POSIX.