Hi Team,
Input
[STEP 4B: SOFTWARE INSTALLATION] ;Lohezic, Maélène
from the above Input i need to extract “4B”
please help me with the solution
Thanks in advance
Likitha
Hi Team,
Input
[STEP 4B: SOFTWARE INSTALLATION] ;Lohezic, Maélène
from the above Input i need to extract “4B”
please help me with the solution
Thanks in advance
Likitha
Hello Vinjam,
You can do it using String manipulation or you can use Regex Also :
Please try following expresiion
(?<=(STEP\s{0,}))\w+
Tested on
Hope it helps
Regards
Ankit
Try this
System.Text.RegularExpressions.Regex.Match(str,"(?<=STEP).*(?=:)").Value.Trim
Cheers
For String manipulation approach, you can try this:
Assign StringVar = “[STEP 4B: SOFTWARE INSTALLATION] ;Lohezic, Maélène”
(stringVar.Split(“STEP”)(1)).Split(“:”)(0).Trim
Cheers
Thanks for the solution
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.