I want to split with Regex this line using the separator :
except when the segment contains ?:
string input = "AV Rocket 456:Contact?:Jane or Tarza:URL?:http?://www.jane.com:Delivered 18?:15:Product Description";
I tried with
string pattern = @"[^\?:]\:";
But the last char at all elements are cutted,
I am waiting for this result:
'AV Rocket 456'
'CONTACT?:JANE OR TARZAN'
'URL?:http?://www.jane.com'
'Time Delivered 18?:15'
'Product Description'