# Find and Replace

---

EmEditor’s Find and Replace functions support regular expressions, number ranges, find and replace in files, and many other options to make searching easier. You can map multiple find strings and their replacements with [batch replace](/text-editor-features/more-features/batch-replace/).

There are multiple types of expressions to specify what to find:

- Simple matching

    - The string is matched as is; there is no special syntax.
    - You can choose [fuzzy matching](/text-editor-features/more-features/fuzzy-matching/) to find close matches.
- [Regular Expressions](https://help.emeditor.com/en/howto_search_search_regexp_syntax.html)

    - Regular expression enables more advanced search patterns. EmEditor supports the Perl regular expression syntax which includes lookahead and lookbehind searching. Capture groups can be used in the replacement string.
- [Escape Sequence](https://help.emeditor.com/en/dlg_find_index.html)

    - Similar to simple matching but the backslash character can be used to represent control characters such as `\t` for tab.
- [Number Range](/text-editor-features/more-features/number-range-expression-for-find-and-replace/)

    - You can search for a range of integers, decimal numbers, IP addresses, and dates.

```gallery
images:
- src: /media/2023/09/Screenshot-2023-09-20-185627.webp
  caption: Find
- src: /media/2023/09/Screenshot-2023-09-20-185705.webp
  caption: Options for Find
- src: /media/2023/09/Screenshot-2023-09-20-185908.webp
  caption: Replace
```

The **Find in Files** dialog allows you to search multiple files in a directory. You can specify more details such as an encoding of the file to be searched. You can specify an encoding in the **Encoding** drop-down list. You can also set up the **Configured Encoding** so that a file will be opened with its associated encoding.

```gallery
images:
- src: /media/2023/09/Screenshot-2023-09-20-185750.webp
  caption: Find in Files
- src: /media/2023/09/Screenshot-2023-09-20-185956.webp
  caption: Replace in Files
- src: /media/2023/09/Screenshot-2023-09-20-185847.webp
  caption: Advanced options
```
