# Text to database

**URL:** <https://community.automationedge.com/t/text-to-database/5998>\
**Category:** Process Studio\
**Created:** [June 22, 2022, 7:22am UTC](https://community.automationedge.com/t/text-to-database/5998 "2022-06-22T07:22:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShrutikaT](https://avatars.discourse-cdn.com/v4/letter/s/d07c76/32.png) [@ShrutikaT](https://community.automationedge.com/u/ShrutikaT)\
**Post date:** [June 22, 2022, 7:22am UTC](https://community.automationedge.com/t/text-to-database/5998/1 "2022-06-22T07:22:36Z")

</div>

I want to read the data from text file and want data output into output table format

---

<div class="post-metadata">

**Author:** ![BhagyashriC](https://avatars.discourse-cdn.com/v4/letter/b/a8b319/32.png) [@BhagyashriC](https://community.automationedge.com/u/BhagyashriC)\
**Post date:** [June 30, 2022, 10:46am UTC](https://community.automationedge.com/t/text-to-database/5998/2 "2022-06-30T10:46:19Z")

</div>

Hi Shrutika,

You can follow below steps-

1. Read the test file using Text File Input step.
2. Do the Data massaging in Modified javascript( use Javascript function/regex)
3. Use Table Output step for insert into db.
