Use multiple Delimiter in a regex

I want to use "- : , " all these values separately, as a key value regex, is it possible to get all same in 1 operation

input → twitter : caption 1 _________ output → caption 1
input → twitter - caption 1 _________ output → caption 1
input → twitter , caption 1 __________ output → caption 1

regex/ delimiter can be of any of this form. (-:,)

Attached image -

Hello,

Can you show us the full scenario, and explain why you are using this module, and provide examples of the input you want to split?

Sending message from one telegram channel to another

the values i am interested in are - - , ; : , these are the four values which will be used to parse the text.

input → twitter : caption 1 _________ output → caption 1
input → twitter - caption 1 _________ output → caption 1
input → twitter , caption 1 __________ output → caption 1

regex/ delimiter can be of any of this form. (-:,)

Use the “Match pattern” module:

3 Likes