Hi :)
I try to get all text which does not match the regex, I use PHP
My regex is :
/(<[^>]+>)/is
I would get all the text inside the HTML tag
I tried : (?!(<[^>]+>))
before and a lot of stuff...
The input :
<html><head><title>Nice page</title></head>
<body>Hello World <a href=http://cyan.com title="un lien">Ceci est un lien</a> <a>sdfaf</a>
<br /><a href=http://www.riven.com> Et ca aussi <img src=wrong.image title="et encore ca">dd</a>
</body></html>
I want match all text inside html tag with regex,
Like :
" Nice page Hello World Ceci est un lien sdfaf Et ca aussi dd "
Thanks !! :)