# Search files for an entry and remove the duplicates

**URL:** https://www.finalbuilder.com/forums/t/search-files-for-an-entry-and-remove-the-duplicates/1944
**Category:** Discussion
**Created:** [February 14, 2012, 12:58pm UTC](https://www.finalbuilder.com/forums/t/search-files-for-an-entry-and-remove-the-duplicates/1944 "2012-02-14T12:58:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![vjek](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/v/f05b48/32.png) [@vjek](https://www.finalbuilder.com/forums/u/vjek)
#### Post date: [February 14, 2012, 12:58pm UTC](https://www.finalbuilder.com/forums/t/search-files-for-an-entry-and-remove-the-duplicates/1944/1 "2012-02-14T12:58:46Z")

</div>

Hello-

I am trying to search a text file for a string and remove the duplicates in the file. I dont see a direct way to do this. I know we can write some scripts and execute it. But just wondering if there is a way that we can achieve this?

&nbsp;

Thanks,

&nbsp;

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [February 14, 2012, 10:12am UTC](https://www.finalbuilder.com/forums/t/search-files-for-an-entry-and-remove-the-duplicates/1944/2 "2012-02-14T10:12:47Z")

</div>

Hi   
  
 There isn’t any built in functionality for this, scripting would be the only way.

---

<div class="post-metadata">

### Author: ![vjek](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/v/f05b48/32.png) [@vjek](https://www.finalbuilder.com/forums/u/vjek)
#### Post date: [February 15, 2012, 9:31am UTC](https://www.finalbuilder.com/forums/t/search-files-for-an-entry-and-remove-the-duplicates/1944/3 "2012-02-15T09:31:04Z")

</div>

&nbsp;Thank you. I am writing script for this.
