Ad Widget

Collapse

Regex in Tags

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AlexSN
    Junior Member
    • Oct 2021
    • 2

    #1

    Regex in Tags

    Hi!

    Anybody knows why this regex: {ITEM.VALUE}.regsub((?<=[\s\S]{250})([\s\S]{0,250})),\1)}

    does always get the beginning of the string (from char 0, 250 chars=, instead of the 250 chars after the first 250 chars (from char 250, 250chars)?
    Does anybody know if this expression is OK in a Zabbix Tag?

    Thanks in advance,
    Alex
  • AlexSN
    Junior Member
    • Oct 2021
    • 2

    #2
    Still no luck... the regex works in regex101 and other online regex test pages, but not in zabbix

    Comment

    Working...