How to find the X & Y value from the input data and pattern

Hi,

I have a input value “3/@12 DD” and the Pattern “X/@Y DD”
how to find the X and Y value from the above input value and pattern.

@jamuna_T,

Use this Regex pattern.

\d+(\/\d+)*

Thanks,
Ashok :slight_smile:

@jamuna_T

Output:
image

Thanks,
Ashok :slight_smile:

Hi @jamuna_T

Can you try the below

X_Value = Input.Split("/@")(0)
Y_Value = Input.Split("/@")(1).Split(" "c)(0)

Output:

image

Regards,

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.