[php] "\n" with < ENTER >

Hey everyone,

I’ve been having some problems with "
" and < ENTER >.

How can i replace this: "

" in a str with "
“? I tried str_replace (”
", "[url="file:// "]
", $str);, but it doesn’t seem to work.

What i’m trying to do is preg_match ("/yada.*moreyada/", “just some yada”, $str); But the line brakes in $str don’t seem to help. the “” part of "
" messes up the preg_match part. How can I avoid this?

Thanks =)