question

Elías M. avatar image
Elías M. asked ·

¿Can't you ignore a regex group on NAM?

So I'm trying to create a generic regex that gets me everything that I need.

The regex that I created is

http[s]://(.*)(/test-Z\d{2}-C\d{2}-\d/\d-\d/[^/]+/[^/]+/)\d*(?:/\d*)(/\p{L}*|())

but when I try to add it to my URL definition regexp NAM got an error "An attempt to repeat something that cannot be repeated, at position 62" (I know the Regex works as intended with some testing on another platforms and online testers)

¿Is there something wrong with my regex or you can't do this on NAM?

Thanks

Elías Montes Pombar

nam servernamnam probenam console
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

John L. avatar image
John L. answered ·

What URLs are you trying to match?

There is a regex tester when you add an entry in URL Monitoring of a software service. When you add an entry and specify it is a regex a test button is displayed at the end of the line with the regex.

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.