I need something built out pretty quick and annoyed that I just spent the last hour trying to figure it out and cant get it to work.
What I need is a text box to dump in a bunch of keywords, separated by line breaks.
When I hit "submit" it will then add find a space " " and replace it with a " +" (space plus sign). As well, it will add a plus sign "+" to the first word; since there is no space before that.
Here is a sample input:
banana hammock
tube sock
purple people peter eater
porn
The output would then be:
+banana +hammock
+tube +sock
+purple +people +peter +eater
+porn
