RemoveAllFromList Regex error?

I’m trying to remove the words:

  • .hi
  • .ho
  • .he

So I did this:

BLOCK:RemoveAllFromList
  list = @item1
  comparison = MatchesRegex
  term = "(\\.hi$|\\.he$|\\.ho$)"
ENDBLOCK

Since they are file extensions in every line.

Why don’t you try regex replace?
image

BLOCK:ConstantString
  value = "sdsada.hi, dasdada.he, dasdasds.ho, sfdasasd.hi"
  => VAR @vara
ENDBLOCK

BLOCK:JoinList
  list = @vara
  => VAR @item1
ENDBLOCK

BLOCK:RegexReplace
  original = @item1
  pattern = "(\\.hi|\\.ho|\\.he)"
  => VAR @sss
ENDBLOCK

consider this as an example. I really do not know how the data you need to modify is.