I'm trying to match everything after a blockquote mark (>), but for whatever reason it's not working.
if (preg_match("/> (.*)\n/",$line,$matches) !== false){
echo $matches[1];
}
I tried matching things after some other marks and all of them worked with the same function for example:
if (preg_match("/# (.*)\n/",$line,$matches) !== false){
echo $matches[1];
}
works fine.
Any ideas?
i run your code inside a place where usually isn't design to run php. (i wrote a text filter that act as a plugin inside EditPlus [made inside free Koreea] )