Could anyone tell me why this regex pattern..
[php]
<a href="http://www\.test\.com/lyrics/[^/]+/[^/]+/[^\.]+\.html" title="[^"]+"[^>]*>[^(<b>)\<]+</a>
[/php]
..isn't matching this line?
<a href="http://www.test.com/lyrics/a_lyrics_4179/lyrics_12737/everybody_in_lyrics_148006.html" title="Everybody In lyrics">Everybody In</a><br>
This is my code..
[php]
if (preg_match('~<a href="http://www\.test\.com/lyrics/[^/]+/[^/]+/[^\.]+\.html" title="[^"]+"[^>]*>[^(<b>)\<]+</a>~', $line)) {
[/php]
I don't want lines with "<b>" included..... isn't that the right way to do it? By enclosing a series of characters in parentheses?
Thanks!