yokzu

yokzu

  • NA
  • 306
  • 0

A Regex problem

Nov 27 2011 11:40 AM
Hi;

I'm trying to parse a string with Regex but I am not able to..

For example there is 2 samples;

City:Empty          --->Dont parse
City:Newyork     --->parse
City:Mumbai      --->parse

I want to get "City:Newyork and City:Mumbai ".  So I want to choose all samples like this; There will be "City:" string but NOT "Empty" string at the end.

How can I do that?

Answers (3)