diff --git a/html/includes/modal/new_alert_rule.inc.php b/html/includes/modal/new_alert_rule.inc.php
index 5c9195fb4..b77f8d201 100644
--- a/html/includes/modal/new_alert_rule.inc.php
+++ b/html/includes/modal/new_alert_rule.inc.php
@@ -164,8 +164,8 @@ if (is_admin()) {
{type: 'less_or_equal', nb_inputs: 1, multiple: false, apply_to: ['string', 'number', 'datetime']},
{type: 'greater', nb_inputs: 1, multiple: false, apply_to: ['string', 'number', 'datetime']},
{type: 'greater_or_equal', nb_inputs: 1, multiple: false, apply_to: ['string', 'number', 'datetime']},
- {type: 'regex', nb_inputs: 1, multiple: false, apply_to: ['string']},
- {type: 'not_regex', nb_inputs: 1, multiple: false, apply_to: ['string']}
+ {type: 'regex', nb_inputs: 1, multiple: false, apply_to: ['string', 'number']},
+ {type: 'not_regex', nb_inputs: 1, multiple: false, apply_to: ['string', 'number']}
],
lang: {
operators: {