I want to have a line break between each character/letter of the word
if the word is < Hello > I want it as
H
e
l
l
o
.
$0\n
. matches newline
Explanation:
. # any character but linebreak
Replacement:
$0 # the whole match, a single character
\n # a line feed, you can use \r\n for Windows end of line
Screenshot (before):
Screenshot (after):
In notepad++, click CTRL+H, then set:
Find what: ([\w\s\d])>
Replace with: $1\n
Set search mode to Regular expression
Example:
Welcome < Hello > world
Output:
W
e
l
o
c
m
e
<
H
e
l
l
o
>
w
o
r
d