--- title: "Binary Filter Modifier" slug: "binary-filter-modifier-10" description: "Information about the Binary Filter modifier." updated: 2026-10-07T10:21:56Z published: 2026-10-07T10:21:56Z canonical: "kb.lasernetgroup.com/binary-filter-modifier-10" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt > Use this file to discover all available pages before exploring further. # Binary Filter Modifier **Applies to:** Lasernet Core 10 The modifier works by searching for a regular expression. For each match, it will replace it with another string. Both the regular expression and the replace text are written in the Latin-1 (ISO-8859-1) character set. However, because this modifier is intended for binary searches, most (if not all) characters should be written in hex using the \x escape. The 'replace' text field supports the $1 $2… $n markers, to include portions of matched regular expressions in the replacement. This provides the ability to create fairly advanced filters, e.g., if the regular expression is '(\d+)\x20(\d+)' and the replacement string is '$2\x20$1', then the filter will search for two numbers separated by a space character and swap the numbers. ## Settings | **Find Regular Expression** | Regular expression to search for. | | --- | --- | | **Replace With** | The search value to be replaced, typed as a string or hex value. For example, \x0d\x0a. | | **Replace Only Once** | If the check box is set, it will only replace the first match. If it is not checked, it will replace all matches. | ## Example ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Setting/ln10-binary-filter-modifier-10-image-01.png) This example searches for two spaces and replaces it with one space.