Hi team,
Need to extract text:
Input:
[STEP 1B: REVIEW];Miyoshi, Mitsuharu;Wakayama, Tetsuya;Smith, Alex
from this i need STEP 1B as output
Output-- STEP 1B
Thanks in Advance
Likitha
Hi team,
Need to extract text:
Input:
[STEP 1B: REVIEW];Miyoshi, Mitsuharu;Wakayama, Tetsuya;Smith, Alex
from this i need STEP 1B as output
Output-- STEP 1B
Thanks in Advance
Likitha
You can try with Regex expression
System.Text.RegularExpressions.Regex.Match(YourString,"(?<=\[)\S.*(?=:)").Tostring
Regards
Gokul
Cross reference:
Hi
Some minor change
Input:
[STEP 1B: REVIEW];Miyoshi, Mitsuharu;Wakayama, Tetsuya;Smith, Alex
[STEP 2: DOCUMENTATION & BUDGET];Scadden, Sydney
I need to extract only numbers 1 for first input and 2 from second input those are just examples which i get from excel rows.
Thanks
Likitha
System.Text.RegularExpressions.Regex.Match(YourString,"(?<=\[STEP\s)\d").Tostring
Regards,
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.