Click here to Skip to main content
15,894,646 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a file containing country name and also other name.Hw i extract country name using pattern matching
ex-USA
INDIA
UK
WILSON
NAME
TRIATHY

i have to only extract country name like INDIA UK ..like this .Can anybody giv som idea??
Posted

1 solution

This could help you:

http://msdn.microsoft.com/en-us/library/vstudio/ms228595.aspx[^]

But you will have to decide on your own regular expressions based on the requirements.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900