Hi all,
In data extraction if any sentence starts with “x” or “X” only that particular line should pick, but here its picking only " as necessary" its mentioned in below image
Please help me on this.
Regards,
Lakshmi
Hi all,
In data extraction if any sentence starts with “x” or “X” only that particular line should pick, but here its picking only " as necessary" its mentioned in below image
Please help me on this.
Regards,
Lakshmi
Hi @Gokul001 ,
Input:
Read, invoke, and repair Gbox as necessary.
x Read, invoke, and full furbish Gbox as necessary.
Expected output:
Read, invoke, and full furbish Gbox as necessary.
Thanks,
Lakshmi
Hi @lakshmi.mp
Try it out
System.Text.RegularExpressions.Regex.Match(YourString,"^x.*|^X.*").Tostring
Need to remove x from above text.
Read, invoke, and full furbish Gbox as necessary.
System.Text.RegularExpressions.Regex.Match(YourString,"(?<=^x).*|(?<=^X).*").Tostring
Hope it will works
Regards
Gokul
System.Text.RegularExpressions.Regex.Match(YourString,"(?<=^x|^X).*").Tostring
Regards
Gokul
Hi,
How about the following expression?
System.Text.RegularExpressions.Regex.Match(yourString,"(?<=(^|\.)\s*[xX]\s*)[^.]+(\.+|$)").Value
Regards,
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.