I have a string
string - '!Network1 !Offer1 !CMDB3 Quality check - lt10d11'
I want to extract all the words starting with the special character '!' including the character itself, in this example they are one after another but they can any where in string.
I want the output in a comma separated string like
output - !Network1, !Offer1, !CMDB3
Thank you
Rakesh