---
title: "Regex & JS Filters"
description: "![](https://legacy.rtila.com/wp-content/uploads/2024/01/JS-and-RegEx-Filters-and-Actions_WebP.webp) **Description** This Custom Command allows you to apply a selection of Regex filters and Javascript rules to clean or complement your existing data. Simply feed into the Custom Command the text input or a variable value using the syntax:…"
url: "https://legacy.rtila.com/docs/regex-js-filters/"
updated: "2025-01-06"
category: Custom Commands
---

# Regex & JS Filters

![](https://legacy.rtila.com/wp-content/uploads/2024/01/JS-and-RegEx-Filters-and-Actions_WebP.webp)

   **Description**

This Custom Command allows you to apply a selection of Regex filters and Javascript rules to clean or complement your existing data. Simply feed into the Custom Command the text input or a variable value using the syntax: {{VariableName}} and this command will output the filtered version of that input in its name when you alert or call it using: {{JS REGEX FILTERS}}    ******How to configure and use this Custom Command**** :**     ![](https://legacy.rtila.com/wp-content/uploads/2024/02/regex-js-filters.jpg)  1) Specify input (text or variable)

2) Dropdown to specify filters that you want to apply

3) Specify RegEx modifier

4) Supported filters    ****Watch Video Demo****:  [![](https://legacy.rtila.com/wp-content/uploads/2024/02/JS-and-Regex-Filters-1.jpg)](https://youtu.be/zToJgtYcjbU)
