How to separate name and phone number and then skip a line when there is \n?

Hello everyone,

Are you all doing well?

I’m facing a major difficulty in solving an issue.

I need to organize the data I’m receiving from a specific URL (mysite.com/contacts/481435329.txt) through Node HTTP Request. This data consists of a list containing the name and phone number of each person.

My goal is to separate the name from the phone number and also perform a line break whenever “\n” is encountered.

I’ve searched for ways to do this and found that it’s possible using JavaScript. However, I have no knowledge of JavaScript or programming.

Could someone please help me out?

Thanks!

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

hello @AzunWeb_Tecnologia

You can do that with Edit Fields node.
Example

2 Likes

It worked!

Thanks for helping me! :heart:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.