Autor Beitrag
TheCoon
Hält's aus hier
Beiträge: 3



BeitragVerfasst: Di 13.10.09 11:17 
hi leute, ich möchte gerne bei der Eingabe einer Uri prüfen ob diese auch dem vorgeschriebenen Format von "Uri" entspricht. Wie mach ich sowas? :>

lg


Moderiert von user profile iconChristian S.: Topic aus C# - Die Sprache verschoben am Fr 16.10.2009 um 19:29
Nemag
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 132
Erhaltene Danke: 2



BeitragVerfasst: Di 13.10.09 11:45 
Probiere es mal damit:
www.google.de/#hl=de...;fp=c5f997a60c47f30f

und das sollte dich dann dazu bringen:

www.geekpedia.com/KB...RegEx-in-Csharp.html
danielf
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1012
Erhaltene Danke: 24

Windows XP
C#, Visual Studio
BeitragVerfasst: Di 13.10.09 16:03 
Hallo,

du kannst auch die statische Funktion IsWellFormedUriString von der Klasse Uri verwenden.

Gruß Daniel