Ho w to split a subject line

Hi Guys,

I have a mail subject line in that i need to extract request id number and line item number.

INPUT:
“RE:Fast Ethernet (100 Mb) request to [ UFINET COSTA RICA ] in Tibas, COSTA RICA request [# 788518 ] line item [# 50471231 ]”

OUTPUT:
788518
50471231

3 Likes

Kindly try with this is in matches activity
As expression
“[0-9]+“
—get the output a variable from matches activity
— to print the value use a for each loop and pass the above variable as input and print the value with a writeline like this
item.ToString
Which will print the value one by one
Cheers

2 Likes

Hi @thima

Try this link for your reference : String Manipulation

cheers :smiley:

Happy learning :smiley:

1 Like

Thank you its working

2 Likes

Fantastic
Cheer @thima

Hi @thima! :slight_smile: To whom solution/recommendation works? It is @Palaniyappan or @pattyricarte ?

3 Likes

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