in reply to regex to replace linefeeds with <p> tags
You might try stripping out all \r's before doing the regex and using \n as the only line ending, with your regex looking for just \n{2,}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: regex to replace linefeeds with <p> tags
by Joost (Canon) on Dec 25, 2006 at 22:16 UTC | |
by throop (Chaplain) on Dec 25, 2006 at 22:56 UTC | |
by ysth (Canon) on Dec 25, 2006 at 23:51 UTC | |
by ysth (Canon) on Dec 25, 2006 at 23:43 UTC | |
|
Re^2: regex to replace linefeeds with <p> tags
by jck (Scribe) on Dec 26, 2006 at 02:47 UTC | |
by ysth (Canon) on Dec 26, 2006 at 03:29 UTC | |
by jck (Scribe) on Dec 26, 2006 at 04:23 UTC |