make a regex

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

<!-- comment -->    <script><!-- comment --> </scritp>     <!--
comment -->

<script><!-- comment --></scritp>

Now I can find just every comment:

maybe sombody help me..thx

Re: make a regex

Quoted text here. Click to load it

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

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.

Site Timeline