I have to get Highlighted
Thank
Shaik Muktharvalli
You can get with Regex method like this
I assume u have read the text and saved as Strinput
Use a assign activity like this
Stroutput = System.Text.RegularExpressions.Regex.Match(Strinput.ToString, “(?<=Description:\n).+(?=_DETECTION)).ToString
Something like this actually
Hope this helps
Cheers
Can you share the text file so that I can help you with regex.
Regards.
with regex use this
system.text.regularexpressions.regex.match(inputstr,“(?<=Description:\s+)[A-Z0-9/]+”).value
without regex use this
inputstr.split({“Description:”,“_DETECTION”},stringsplitoptions.RemoveEmptyEntries)(0).Trim
use this regex
str=
Niveau d’urgence: Famille de symptômes:
SymptĂ´me:
Description:
VV0040/0407_DETECTION FEU CHAMPIGNEULLES_4AD
Donnée complémentaire:
Action en cours:
Action en cours EDS:
Date d’action en cours EDS:
Entrez l’heure
Entrez les minutes
Complément d’information sur l’action en cours EDS (nouvelle fenêtre)Complémen
l’action en cours EDS (nouvelle fenêtre)
Rappel 00h15 avant échéanceRappel 00h15 avant échéance
Outil de supervision:
Rattachement:
Pilote:
System.Text.RegularExpressions.Regex.Match(str,"(?<=Description:)\s{0,}[0-9A-Z\/]+").Value.Trim
cheers…!
Let us know for any clarification @shaik.muktharvalli1
thank you its working fine
thank you @Palaniyappan its working fine
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.