php - I need a regular express for notepad++ to remove new line and empty spaces -
here sample text:
a:7:{ i:0; i:9; }
i want new lines , empty spaces removed this:
a:7:{i:0;i:9;}
so i'm using notepad++ editing , im wondering how above find , replace feature.
press ctrl+h open replace window.
in search mode select regular expression , check "matches newline" checkbox.
in "find what" type - \s
leave "replace with" field empty
select "wrap around" checkbox , hit "replace all"
edit: adding screenshot reference: