I have this string
"ABC-2341241244 | tb1 | value | tb2 | value | tb10 | value"
How can I do with regex to replace for example '| tb2 | value '
with ''
to stay with this,
"ABC-2341241244 | tb1 | value | tb10 | value"
I know the value 'tbxx' is a varieble that I have.
The Regex engine is javascript sorry not .Net C# sorry