---
title: "Extract the File Name from Attachments"
description: "Effortlessly extract file names from attachments to organize and manage your data seamlessly."
url: https://help.stackby.com/es/articles/43-extract-the-file-name-from-attachments
collection: "Using Formulas"
updated: 2025-01-10
language: es
alternates: [en]
---

# Extract the File Name from Attachments

Effortlessly extract file names from attachments to organize and manage your data seamlessly.

In this article, you'll learn how you can extract file name from attachment column type. 

## **Formula to use**

```javascript
 LEFT({Column Name},SEARCH({Column Name},"(")-1)
```

Example:

1.  Here, two columns are used. One is Attachment column and other is formula column. 
    
2.  In Attachment column, add your file. 
    
3.  In formula column, you need to write above formula and select String formatting. 
    

```javascript
LEFT({Attachments},SEARCH({Attachments},"(")-1)
```

And, here is the result:

![](https://d258lu9myqkejp.cloudfront.net/attachment_images/bfe4a863afcff35efa3b7bd5e33004165776322127b3716b47cd73ac0a2bc2151631169056988.png)
