How to split columns of the following data using SAINT Classification | Community
Skip to main content
March 10, 2021
Solved

How to split columns of the following data using SAINT Classification

  • March 10, 2021
  • 2 replies
  • 923 views

The Issue

How can I classify all the different strings using SAINT Classification

1403:1280:110:26:150

1782:1780:101:26:50

188:1780:11:11

266:1780:15:12:

1758:1280:138:22:500

 

 

Expected output

String

Var1

Var2

Var3

Var4

Var5

1403:1280:110:26:150

1403

1280

110

26

150

1782:1780:101:26:50

1782

1780

101

26

50

188:1780:11:11

188

1780

11

11

 

266:1780:15:12:

266

1780

15

12

 

1758:1280:138:22:500

1758

1280

138

22

500

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Uditgupta1

Hi @kaushikhaldar1978 ,

 

You can use below Regular Expression for your classification.

^(.+)\:(.+)\:(.+)$ 

 

Attaching a document for your reference where you can find other type of regular expression for future need.

https://experienceleague.adobe.com/docs/analytics/components/classifications/classifications-rulebuilder/classification-quickstart-rules.html?lang=en#section_5D300C03FA484BADACBFCA983E738ACF

 

Thanks

2 replies

Adobe Employee
March 10, 2021

You can use Regular Expressions in the Classification Rule Builder and classify your strings as per your requirement.

https://experienceleague.adobe.com/docs/analytics/components/classifications/classifications-rulebuilder/classification-quickstart-rules.html?lang=en#classifications

Uditgupta1Accepted solution
Level 3
March 11, 2021

Hi @kaushikhaldar1978 ,

 

You can use below Regular Expression for your classification.

^(.+)\:(.+)\:(.+)$ 

 

Attaching a document for your reference where you can find other type of regular expression for future need.

https://experienceleague.adobe.com/docs/analytics/components/classifications/classifications-rulebuilder/classification-quickstart-rules.html?lang=en#section_5D300C03FA484BADACBFCA983E738ACF

 

Thanks