Community discussion forum

Regular expression

  • 5 months 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 was edited on 08/06/2009 09:29:46 Report abuse

Post a reply

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

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

We'd love to hear what you think! Submit ideas or give us feedback