Click here to Skip to main content
15,921,179 members
Home / Discussions / C#
   

C#

 
QuestionLinux client with Windows Server Pin
islheg28-May-07 9:35
islheg28-May-07 9:35 
QuestionWhat am I missing here??? [modified] Pin
new_phoenix28-May-07 7:55
new_phoenix28-May-07 7:55 
AnswerRe: What am I missing here??? Pin
Guffa28-May-07 8:37
Guffa28-May-07 8:37 
GeneralRe: What am I missing here??? Pin
new_phoenix2-Jun-07 12:19
new_phoenix2-Jun-07 12:19 
AnswerRe: What am I missing here??? Pin
Guffa2-Jun-07 14:03
Guffa2-Jun-07 14:03 
Questioni have to ask regarding "Report Parameter" Pin
Lucky Hamad28-May-07 7:23
Lucky Hamad28-May-07 7:23 
QuestionRegular Expressions... Pin
simplicitylabs28-May-07 5:55
simplicitylabs28-May-07 5:55 
AnswerRe: Regular Expressions... Pin
J. Dunlap28-May-07 6:28
J. Dunlap28-May-07 6:28 
The following regex will return the contents of anything between < and > in a named capture called "TagContents":
\<(?<TagContents>[^\>]*)\>
Here's how it is constructed:

An escaped < character:
\<
An escaped "<" character - escaped to prevent it from being treated as a special expression character. This < matches the beginning of the tag.

A named capture group:
(?<name>matchexpr)
Matches the matchexpr expression and returns it in a named capture called name.

A custom character class:
[^\>]*
Custom character classes are defined by having a set of character identifiers within square brackets [ ]. The ^ character at the beginning means that the character class should match characters that are not contained within the characters listed within the brackets. So, this character class will match characters that are not ">". The asterisk at the end is a wildcard character that indicates that the character class should be matched any number of times possible, from 0 to the remaining length of the string.


An escaped > character:
\>
Matches the end of the tag.



GeneralRe: Regular Expressions... Pin
simplicitylabs28-May-07 6:48
simplicitylabs28-May-07 6:48 
GeneralRe: Regular Expressions... Pin
J. Dunlap28-May-07 7:16
J. Dunlap28-May-07 7:16 
QuestionRe-Starting an application after self killing (autodestruction) Pin
dannygilbert328-May-07 5:24
dannygilbert328-May-07 5:24 
AnswerRe: Re-Starting an application after self killing (autodestruction) Pin
Dave Herren28-May-07 5:38
Dave Herren28-May-07 5:38 
AnswerRe: Re-Starting an application after self killing (autodestruction) Pin
Giorgi Dalakishvili28-May-07 7:15
mentorGiorgi Dalakishvili28-May-07 7:15 
QuestionSecurity report icons on IE Pin
ilaxi28-May-07 4:29
ilaxi28-May-07 4:29 
AnswerRe: Security report icons on IE Pin
Sathesh Sakthivel28-May-07 4:31
Sathesh Sakthivel28-May-07 4:31 
Questionselect menustrip item by code Pin
hamid_m28-May-07 3:58
hamid_m28-May-07 3:58 
AnswerRe: select menustrip item by code Pin
Seishin#28-May-07 22:44
Seishin#28-May-07 22:44 
QuestionReportViewer.RefreshReport() takes too long time… Pin
anderslundsgard28-May-07 3:56
anderslundsgard28-May-07 3:56 
QuestionADO Paramater Class Pin
Sean Venter28-May-07 3:53
Sean Venter28-May-07 3:53 
QuestionHelp regarding icon of a webpage Pin
anu8128-May-07 3:41
anu8128-May-07 3:41 
QuestionHow to write a stored procedure Pin
Mujz.........28-May-07 3:36
Mujz.........28-May-07 3:36 
AnswerRe: How to write a stored procedure Pin
Guffa28-May-07 7:07
Guffa28-May-07 7:07 
GeneralRe: How to write a stored procedure Pin
Mujz.........28-May-07 17:59
Mujz.........28-May-07 17:59 
AnswerRe: How to write a stored procedure Pin
Guffa28-May-07 19:19
Guffa28-May-07 19:19 
GeneralRe: How to write a stored procedure Pin
Mujz.........28-May-07 19:28
Mujz.........28-May-07 19:28 

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.