Text Manipulation - Output a list

My dictated list of items in my pantry are separated by spaces (milk eggs carrots hummus).

I would like each item on its own line so I can paste into my meal planning app

Can I accomplish this with drafts, or should I use ChatGPT or something?

I dictate the new lines as I go for this when I am capturing a shopping list by voice.

milk newline eggs newline carrots newline hummus

For me, not everything is a single word, so this accommodates that.

milk 2 pints newline dozen large eggs newline carrots newline sabra houmous extra

You could have an action that you run that captures your dictation or processes your dictation and then replaces every space with a new line. It really is just a find ane replace exercise after the dictation is done.

You could go further with an action and use it to insert task checkboxes on each line so you can check off items as you collect them.