Click here to Skip to main content
15,914,642 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: IT professionals Pin
Vasudevan Deepak Kumar6-Jun-08 2:28
Vasudevan Deepak Kumar6-Jun-08 2:28 
GeneralRe: IT professionals Pin
Ashfield6-Jun-08 5:00
Ashfield6-Jun-08 5:00 
QuestionSubreportProcessing event handler of ReportViewer control not firing.. Please help Pin
Jagadeeshs5-Jun-08 4:28
Jagadeeshs5-Jun-08 4:28 
QuestionAttaching event lisener with arguments. Pin
24891284-Jun-08 21:18
24891284-Jun-08 21:18 
QuestionHow to parse a value from HTML? Pin
hifiger20044-Jun-08 18:59
hifiger20044-Jun-08 18:59 
AnswerRe: How to parse a value from HTML? Pin
Vasudevan Deepak Kumar4-Jun-08 20:19
Vasudevan Deepak Kumar4-Jun-08 20:19 
AnswerRe: How to parse a value from HTML? Pin
Ashfield4-Jun-08 21:26
Ashfield4-Jun-08 21:26 
GeneralRe: How to parse a value from HTML? Pin
hifiger20044-Jun-08 23:46
hifiger20044-Jun-08 23:46 
Yes, you're right.

I actually made a sample program that will extract the "MyNameHere" using the Regular Expressions like this - (?<name>\w+?)

But I don't why isn't getting the value "MyNameHere"

Please check my code below. Thanks


Dim s As String = "<td class="" fieldlabel="" style="" width:="" 150px;="" valign="" top=""> " _
& "Employee Name</td> " _
& "<td class="" fieldvalue=""> " _
& "MyNameHere" _
& "</td> "
Dim r As Regex
Dim m As Match

Dim sPattern As String = "^<td\ class="" fieldlabel="" \="" style="" width:\="" 150px;="" valign="" top="">\nEmployee\ Name\ \n<td\ class="" fieldvalue="">\ \n(?<name>\w+?)\n\ $"

r = New Regex(sPattern, RegexOptions.IgnoreCase Or RegexOptions.Compiled Or RegexOptions.Multiline)
m = r.Match(s)

While m.Success
TextBox1.Text = m.Groups(1).Value
m = m.NextMatch()
End While

hifiger2004
GeneralRe: How to parse a value from HTML? Pin
Ashfield5-Jun-08 0:23
Ashfield5-Jun-08 0:23 
QuestionContinue timer from the place it stopped in JavaScript Pin
TheAteist4-Jun-08 9:06
TheAteist4-Jun-08 9:06 
AnswerRe: Continue timer from the place it stopped in JavaScript Pin
Vasudevan Deepak Kumar4-Jun-08 20:21
Vasudevan Deepak Kumar4-Jun-08 20:21 
QuestionSession value is mixed with other user's session Pin
metbinu2003@yahoo.com4-Jun-08 4:12
metbinu2003@yahoo.com4-Jun-08 4:12 
AnswerRe: Session value is mixed with other user's session Pin
Herman<T>.Instance8-Jun-08 22:23
Herman<T>.Instance8-Jun-08 22:23 
Questionhow to Convert Text into Image in javascript? Pin
Member 31551514-Jun-08 0:44
Member 31551514-Jun-08 0:44 
AnswerRe: how to Convert Text into Image in javascript? Pin
Christian Graus4-Jun-08 4:50
protectorChristian Graus4-Jun-08 4:50 
AnswerRe: how to Convert Text into Image in javascript? Pin
ayaxian5-Jun-08 13:26
ayaxian5-Jun-08 13:26 
QuestionStoring string variable with double quote Pin
hifiger20044-Jun-08 0:07
hifiger20044-Jun-08 0:07 
AnswerRe: Storing string variable with double quote Pin
Christian Graus4-Jun-08 4:51
protectorChristian Graus4-Jun-08 4:51 
QuestionC# web appliaction to PDF using iTextSharp Pin
Dhilipkumar3-Jun-08 22:47
Dhilipkumar3-Jun-08 22:47 
AnswerRe: C# web appliaction to PDF using iTextSharp Pin
Christian Graus4-Jun-08 4:52
protectorChristian Graus4-Jun-08 4:52 
QuestionRedirect to next page. Pin
Moghan3-Jun-08 22:35
Moghan3-Jun-08 22:35 
AnswerRedirect to next page. Pin
Moghan3-Jun-08 22:42
Moghan3-Jun-08 22:42 
AnswerRedirect to next page.(Change in Code) Pin
Moghan3-Jun-08 22:42
Moghan3-Jun-08 22:42 
RantRe: Redirect to next page.(Change in Code) Pin
Guffa3-Jun-08 23:00
Guffa3-Jun-08 23:00 
GeneralRe: Redirect to next page.(Change in Code) Pin
Guffa3-Jun-08 23:02
Guffa3-Jun-08 23:02 

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.