Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <pre>
- Inside a pre<br>tag (<br> tags should be replaced with newline)
- <!--
- this is a comment inside a pre tag to show the problem with using regex to replace <br> tags inside <pre></pre> tags with newline and it shouldn't be modified at all
- -->
- </pre>
- outside a pre<br>tag (<br> tags should stay unmodified)
- <pre>
- Inside a pre<br>tag (<br> tags should be replaced with newline)
- </pre>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement