Luke

Luke

  • NA
  • 1
  • 0

C#.net regular expression help

Jul 26 2006 6:01 AM
Hi all,

I am pretty new to C# and I have been given the task as follows:

The be able to process a string and find out the Name, House Number/Name and Post code

The only thing is, a user can create the string in many different forms:

Jon Doe My House YO1 3WS
J Doe 23 YO13WS
Doe 23 YO223WS
Jon 23 YO22 3WS

I realise this is oging to take several regular expressions but even if i knew how to match just one of the above then I would be able to work out the rest for myself.

Thanks
Luke