Hello
I want to Parse the Following Highlighted Words. (ICA is the String) which is Mandatory String
Find the Attached Screenshot
Thanks in Advance
Hello
I want to Parse the Following Highlighted Words. (ICA is the String) which is Mandatory String
Find the Attached Screenshot
Thanks in Advance
Hi!
Try this:
strText=System.Text.RegularExpressions.RegEx.Match(strInputVariable,"\w{3}-\w{3}|\w{3}_\w{3}|(?=[A-Z]{3}).+").ToSting
Reference:
Regards,
NaNi
How about this expression
System.Text.RegularExpressions.Regex.Match(YourString,"ICA\S.*|^ica\S.*|\S.*ICA|^ica|^ICA").Tostring
Regards
Gokul
highlighted Words is Output.
@Gokul001 it Working But not Properly…have a Look Attahced SS…
Small ica is not Covered and I did not want APPLICATION,VERIFICATION.
Just want Following Words
ICA
ica
ATO ICA
ATO-ICA
ATO_ICA
Split on VbCrLf, loop through the array, use an IF to check if the value ends in ICA, add to a second array. Then you’ll have an array of just the values you want.
How about this expression?
System.Text.RegularExpressions.Regex.Match(YourString,"\S.*\wica(?=\s)|\S.*\WICA(?=\s)|\S.*\wICA(?=\s)|ICA$|ica$").Tostring
Regards
Gokul