Regular expression

aspx , Regular expression , Csharp Ljubljana, Slovenia
  • 9 years ago

    Hi to all. I have one problem

    I try to parse some string and get data from it. For example i have three strings "Greece about 2 weeks", "greece" and "grece about 500 eur"

    Now i want to define regular expressions and check for right format. I need data like destination, city, duration, price

    How can i get all this data from different strings. Some string has all information, some just one, for example just destination. How can i know what is price, what is destination and how can i get data with regex.

    Regards Thx

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“In theory, theory and practice are the same. In practice, they're not.”