Click here to Skip to main content
15,913,939 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to avoid a cross-thread error for a TextBox with databinding? Pin
R. vd Kooij22-Apr-10 9:14
R. vd Kooij22-Apr-10 9:14 
Questionpopulate combobox by passing parameter to seperate class Pin
redspiderke21-Apr-10 2:02
redspiderke21-Apr-10 2:02 
AnswerRe: populate combobox by passing parameter to seperate class Pin
Not Active21-Apr-10 2:15
mentorNot Active21-Apr-10 2:15 
GeneralRe: populate combobox by passing parameter to seperate class Pin
redspiderke21-Apr-10 3:17
redspiderke21-Apr-10 3:17 
GeneralRe: populate combobox by passing parameter to seperate class Pin
Not Active21-Apr-10 4:00
mentorNot Active21-Apr-10 4:00 
GeneralRe: populate combobox by passing parameter to seperate class Pin
redspiderke21-Apr-10 20:56
redspiderke21-Apr-10 20:56 
QuestionHOW TO RETRIVE ALL TRANSACTION from sqlserver where TODAYS DATE AS PARAMETER IN SQL QUERY.? Pin
sudhir behera21-Apr-10 1:59
sudhir behera21-Apr-10 1:59 
AnswerRepost Pin
Keith Barrow21-Apr-10 2:14
professionalKeith Barrow21-Apr-10 2:14 
AnswerRe: HOW TO RETRIVE ALL TRANSACTION from sqlserver where TODAYS DATE AS PARAMETER IN SQL QUERY.? Pin
Ashfield21-Apr-10 2:49
Ashfield21-Apr-10 2:49 
AnswerRe: HOW TO RETRIVE ALL TRANSACTION from sqlserver where TODAYS DATE AS PARAMETER IN SQL QUERY.? Pin
PIEBALDconsult21-Apr-10 3:24
mvePIEBALDconsult21-Apr-10 3:24 
GeneralRe: HOW TO RETRIVE ALL TRANSACTION from sqlserver where TODAYS DATE AS PARAMETER IN SQL QUERY.? Pin
Keith Barrow21-Apr-10 3:25
professionalKeith Barrow21-Apr-10 3:25 
GeneralRe: HOW TO RETRIVE ALL TRANSACTION from sqlserver where TODAYS DATE AS PARAMETER IN SQL QUERY.? Pin
PIEBALDconsult21-Apr-10 15:27
mvePIEBALDconsult21-Apr-10 15:27 
QuestionOrdering sub-elements in a PropertyGrid Pin
Wags21-Apr-10 0:57
professionalWags21-Apr-10 0:57 
AnswerRe: Ordering sub-elements in a PropertyGrid Pin
DaveyM6921-Apr-10 1:07
professionalDaveyM6921-Apr-10 1:07 
GeneralRe: Ordering sub-elements in a PropertyGrid Pin
Wags21-Apr-10 1:38
professionalWags21-Apr-10 1:38 
GeneralRe: Ordering sub-elements in a PropertyGrid Pin
DaveyM6921-Apr-10 2:08
professionalDaveyM6921-Apr-10 2:08 
GeneralRe: Ordering sub-elements in a PropertyGrid Pin
Wags21-Apr-10 2:15
professionalWags21-Apr-10 2:15 
GeneralRe: Ordering sub-elements in a PropertyGrid Pin
DaveyM6921-Apr-10 2:20
professionalDaveyM6921-Apr-10 2:20 
QuestionRegexp dilema Pin
skelmannen21-Apr-10 0:37
skelmannen21-Apr-10 0:37 
AnswerRe: Regexp dilema Pin
J4amieC21-Apr-10 1:38
J4amieC21-Apr-10 1:38 
GeneralRe: Regexp dilema Pin
skelmannen21-Apr-10 2:43
skelmannen21-Apr-10 2:43 
AnswerRe: Regexp dilema Pin
PIEBALDconsult21-Apr-10 3:30
mvePIEBALDconsult21-Apr-10 3:30 
GeneralRe: Regexp dilema Pin
skelmannen21-Apr-10 3:41
skelmannen21-Apr-10 3:41 
GeneralRe: Regexp dilema Pin
PIEBALDconsult21-Apr-10 7:58
mvePIEBALDconsult21-Apr-10 7:58 
AnswerRe: Regexp dilema Pin
Kythen21-Apr-10 6:00
Kythen21-Apr-10 6:00 
Give this regex a try:

(^|\D+)(?<postalCode>\d{3}\s?\d{2})\s(?<city>[A-Za-z]+)


The first group checks for the beginning of the line or a non-digit character. This should prevent the regex from picking up lines with more than 5 digits. The "postalCode" group will have your Swedish zip code and "city" will have the city name.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.