Replacement of pattern using relevance

(imported topic written by Darknight)

Hi,

Can someone please let me know how can i change the relevance so that “-” will get replaced by “_” for "fdjkl 43890 fdjkl

dfjkdfjk

fdjkxli"

Desired output :

fdjkl 43890 fdjkl_
dfjkdfjk
_
fdjkxli

Thanks in advance.

(imported comment written by Tim.Rice)

Q: (concatenations “_” of (substrings separated by “-” of “fdjkl 43890 fdjkl-dfjkdfjk-fdjkxli”))

A: fdjkl 43890 fdjkl_dfjkdfjk_fdjkxli

(imported comment written by Darknight)

Thnaks a lot TimRice … this was really helpful :slight_smile: