Regular expression

aspx , Regular expression , Csharp Ljubljana, Slovenia
  • 11 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).


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.

“An expert is a man who has made all the mistakes that can be made in a very narrow field” - Niels Bohr