# Wildcard Names

For external sources, you can use wildcard names when selecting the source data. This is used where the name of the source file is dynamic e.g. Account\_Import\_TODAYS\_DATE.csv.

Using wildcards you can let Dataimporter search through your data source for matching CSV files, and choose the latest file to be used for the job:

The following pattern matches are defined:

<table><thead><tr><th>Pattern</th><th width="400">Meaning</th></tr></thead><tbody><tr><td>*</td><td>Matches <strong>zero or more</strong> characters</td></tr><tr><td>?</td><td>Matches <strong>exactly one</strong> character</td></tr><tr><td>[seq]</td><td>Matches any character in a sequence</td></tr><tr><td>[!seq]</td><td>Matches any character not in a sequence</td></tr><tr><td>today()</td><td>Evaluates to today's date e.g. 2026-01-01</td></tr><tr><td>now()</td><td>Evaluates to current timestamp e.g. 2026-04-22 231650</td></tr></tbody></table>

### Example

Using the pattern Account\_Import\*.csv would select the following file in the SFTP Server:

<figure><img src="/files/VVeNJ2JaK5dXjcbulHq1" alt=""><figcaption></figcaption></figure>

Although the File is named with an earlier date, **Dataimporter will always take the latest modified file that matches the Wildcard pattern**.

If no file can be found using the pattern then you will receive a message 'No File Found'.

### Examples

1. **Using `?`**:
   * Pattern: `file?.csv`
   * Matches:
     * `file1.csv`
     * `fileA.csv`
     * `file_.csv`
   * Does **not** match:
     * `file.csv` (no character in place of `?`)
     * `file12.csv` (two characters in place of `?`)
     * `files.csv` (two extra letters in place of `?`)
2. **Using `*`**:
   * Pattern: `data*.csv`
   * Matches:
     * `data.csv` (zero characters after `data`)
     * `data1.csv`
     * `data_set.csv`
     * `dataXYZ.csv`
   * Does **not** match:
     * `mydata.csv` (does not start with `data`)
     * `data.json` (different file extension)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.dataimporter.io/jobs/wildcard-names.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
