HI all i have a string
a = “AAP: DA: codes tagged to the person (0685)(FA01,FA03,FA04,FA05,FS02,FS03,FS07,FS10,US11,US12)”
from the above string i need only this data FA01,FA03,FA04,FA05,FS02,FS03,FS07,FS10,US11,US12
how can i get it please help me
Yoichi
(Yoichi)
2
Hi,
Can you try the following expression?
System.Text.RegularExpressions.Regex.Match(yourString,"(?<=\()[^(]*(?=\)$)").Value
Regards,
@Yoichi
hai it was not able to get it
Yoichi
(Yoichi)
4
Hi,
Is double quote part of data? If so, the following will work.
System.Text.RegularExpressions.Regex.Match(yourString,"(?<=\()[^(]*(?=\)""$)").Value
Sequence2.xaml (5.0 KB)
Regards,
@Yoichi thank you somuch thank you thank you its working
1 Like
system
(system)
Closed
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.