REGEX remove blank lines:
FROM: http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/remove_blank_lines.html
FIND:
^(?:[\t ]*(?:\r?\n|\r))+
| function isChatMessage(message) { | |
| if (message.__x_isSentByMe) { | |
| return false; | |
| } | |
| if (message.__x_isNotification) { | |
| return false; | |
| } | |
| if (!message.__x_isUserCreatedType) { | |
| return false; | |
| } |
REGEX remove blank lines:
FROM: http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/remove_blank_lines.html
FIND:
^(?:[\t ]*(?:\r?\n|\r))+
| <?php | |
| // UPDATE: Stefan from Stack Overflow has explained a better way to handle cart item data. | |
| // See http://stackoverflow.com/a/32327810/470480 | |
| // ---------------------- | |
| /* | |
| Instructions: |
| <?php | |
| $args = array( | |
| 'post_author' => 1, | |
| 'post_content' => '', | |
| 'post_status' => "draft", // (Draft | Pending | Publish) | |
| 'post_title' => '', | |
| 'post_parent' => '', | |
| 'post_type' => "product" | |
| ); |