Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex in action is not working #1058

Open
fbarcia-sirt opened this issue Oct 1, 2024 · 0 comments
Open

Regex in action is not working #1058

fbarcia-sirt opened this issue Oct 1, 2024 · 0 comments

Comments

@fbarcia-sirt
Copy link

Hi, I have some alerts with host field like this:
Alert 2028 - CAP Roses

And I'm trying to make an action to get only the 2028 value from host field to construct one browse action.

I've seen that the host is passed as a parameter like this: alerts/all/Alert%202028%20-%20CAP%20Roses
and the regex that I'm trying to use is the next: Alert (\d+) -
but it does not work, it sends me to alerts/all/Alert%202028%20-%20CAP%20Roses insted of alerts/all/2028

Any suggestion?

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant