Hi Andric,
For your first question, assuming you are using SAS Data Preparation in SAS Viya (based on a comment later in the post), have you tried using the "Other" delimiter option? From the documentation:
"If you choose Other in the Delimiter drop-down menu, enter the delimiters that you want to use in the text box. There is no limit to the number of delimiters that you can enter in this field. If you enter multiple delimiters, then the split occurs on a cell-by-cell basis according to the delimiters that you indicated, and in the order in which they appear in the Other text box." It may not be flexible enough to meet your needs though.
If you have access to the data quality transforms, there are parsing and field extraction transformations too, but they require you to develop some specialized data quality algorithms using a separate knowledge base editing tool.
Ron
... View more