I am looking for the scraping method to get the value before a specific character.
For example:
I have the value “2024-04-26 12.09 [0] Error system.engineer.net.Collection_sql_test [(value)] - completed” .
The above example is the error message which will get through email whenever error occurred So, i want to extract the highlighted part.
.Collection_sql_test —> This value is same for every error message so, i want to extract the highlighted value which present before “.Collection_sql_test.” value.
How can extract highlighted value by using which activity?
Thanks @lrtetala & @pravallikapaluri Your both solution are working fine.
But my email subject is getting change every time so only ‘System Admin’ word is unique for every mail subject line. Please help me for this how i can use contains activity?
Variable = subject line
I use contains activity like:- Variable.contains(“System Admin”).tostring