# \[php\] "\\n" with \< ENTER \>

**URL:** <https://forum.kirupa.com/t/php-n-with-enter/63082>\
**Category:** programming\
**Created:** [September 2, 2004, 9:01pm UTC](https://forum.kirupa.com/t/php-n-with-enter/63082 "2004-09-02T21:01:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MTsoul](https://avatars.discourse-cdn.com/v4/letter/m/91b2a8/32.png) [@MTsoul](https://forum.kirupa.com/u/MTsoul)\
**Post date:** [September 2, 2004, 9:01pm UTC](https://forum.kirupa.com/t/php-n-with-enter/63082/1 "2004-09-02T21:01:29Z")

</div>

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 =)
