Using Notepad++ and replace function, I tried to add a symbol "+" or "[" before each word of my list.
Example of list :
I'm looking for the following result :
I know how to add a character befor each line... but I cannot find the way to add it in front of every word without using replace "blue" to "+blue".
A cross platform solution should be
Search: \b\w+\b
(or \b[[:alpha:]]+\b
)
Replace: +$&
Search pattern details:
\b
- a leading word boundary\w+
- 1 or more word chars (if [[:alpha:]]+
is used, 1+ letters)\b
- a trailing word boundaryReplacement details: +
is a literal plus, and $&
is the backreference to the whole match.
See the screenshot:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With