> For the complete documentation index, see [llms.txt](https://docs10.xenioo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs10.xenioo.com/actions-and-operations/input/global-detection/xenioo.bots.actions.base.operations.textinputglobaloperation.md).

# Text Parse Action

This operation will trigger when the user types a generic text matching a given regular expression. This operation is global and always active in any part of the behaviour.

![](/files/-Lf5QoFhrLckMjigKErx)

### Settings

The action uses the following settings:

| Setting                | Description                                                                                                                        | [Parsed](/actions-and-operations/dynamic-parsing.md) |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| Control Expression     | A valid regular expression that will parse the incoming text or a simple text                                                      | :white\_check\_mark:                                 |
| Target Variable        | The variable that will hold the user text that triggered the action.                                                               | :white\_check\_mark:                                 |
| React to Page Comments | Enable or Disable real-time [Facebook post integration](/basic-concepts/publishing/channels/facebook.md#page-posting-integration). | :no\_entry:                                          |
| Specific Post Id       | Contains the full Facebook post id to be watched. If left empty, the trigger will fire for any post on your page.                  | :white\_check\_mark:                                 |

### Remarks

Text detection can happen in two different ways: using simple text or using a Regular Expression.&#x20;

* Simple text\
  The text you enter in Control Expression is directly matched with the user input. For example entering *this is awesome* will match any sentence containing that exact text.\
  You can use a pipe (|) symbol to match multiple sentences. So to match *this is awesome* and *this is great*, you can enter *this is awesom&#x65;**|**&#x74;his is great* in Control Expression.<br>
* Regular Expression\
  Xenioo supports standard [Regular Expression notation](https://docs.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-language-quick-reference). The input text will be matched against the regular expression specified in Control Expression.

Regardless or the selected method, text detection is always case insensitive.

### Trigger

Expression Match. This action will trigger any child operation as soon as the user input is matching the specified Control Expression.

### Variables

This action does not produce any variable but the one specified in the Target Variable setting.

### Availability

Channel specific availability follows the table below:

| Channel          | Availability                                                           |
| ---------------- | ---------------------------------------------------------------------- |
| Facebook         | Fully Available.                                                       |
| WhatsApp         | Fully Available.                                                       |
| Telegram         | Fully Available.                                                       |
| Web              | Fully Available.                                                       |
| Alexa            | **Not Available. Out of AI Detection is not supported inside skills.** |
| Google Assistant | Fully Available.                                                       |
| Slack            | Fully Available.                                                       |
| API              | Fully Available.                                                       |

This action can be used only at [Bot Global level](/actions-and-operations/execution.md#global-and-local-actions) or [Behavior level.](/actions-and-operations/execution.md#global-and-local-actions) Any account can use this action regardless of [subscription level](/basic-concepts/your-account/the-free-plan.md).
