Need to get Bold value (Compared to IDNIM) from regex

mnc001.mcc510.gprs IDNSL 2G & 3G & 4G
mnc021.mcc510.gprs IDNIM 2G & 3G & 4G

Example: My TADIG variable “IDNIM” then have to get this value mnc021.mcc510.gprs

any one help please

thanks
shaik

@shaik.muktharvalli1,

Follow this approach.

Use if activity with this condition.

TADIG.Contains("IDNIM")

In True Sequence use this expression in Assign activity

outputVariable = TADIG.Split(" "c)(0).Trim

Thanks,
Ashok :slight_smile:

Hi @shaik.muktharvalli1

Try this,

.*(?=IDNIM)

.*(?=IDNSL)

image

image

Regards,
Gowtham K

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