Click here to Skip to main content
15,890,670 members
Home / Discussions / C#
   

C#

 
AnswerRe: Format date mm/dd/yyyy Pin
Mycroft Holmes7-Aug-09 22:34
professionalMycroft Holmes7-Aug-09 22:34 
Questionconnections strings in Linq Pin
Chazzysb7-Aug-09 8:57
Chazzysb7-Aug-09 8:57 
AnswerRe: connections strings in Linq Pin
Super Lloyd7-Aug-09 14:58
Super Lloyd7-Aug-09 14:58 
Questionwinform add splitcontainer docking problem-panel is covered by toolstrip Pin
akira327-Aug-09 8:54
akira327-Aug-09 8:54 
AnswerRe: winform add splitcontainer docking problem-panel is covered by toolstrip Pin
Alan N7-Aug-09 10:09
Alan N7-Aug-09 10:09 
AnswerRe: winform add splitcontainer docking problem-panel is covered by toolstrip Pin
Henry Minute7-Aug-09 15:38
Henry Minute7-Aug-09 15:38 
Questionhow to Retrieve Metadata in office Document using Index Services. Pin
alisolution7-Aug-09 8:28
alisolution7-Aug-09 8:28 
Questionstripping out http response header using Regex.Replace Pin
Jayapal Chandran7-Aug-09 8:15
Jayapal Chandran7-Aug-09 8:15 
I want to remove the http response header using regular expression

for example the following is the response i get
-----------------------------------------------
HTTP/1.1 200 OK
Date: Fri, 07 Aug 2009 18:10:29 GMT
Server: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8
X-Powered-By: PHP/5.2.8
Content-Length: 140
Connection: close
Content-Type: text/html

A Word a Moment
Word : somber

Pron : sombu(r)

Meaning :
1. Lacking brightness or colour; dull

Example : (empty)
---------------------------------------------------
and i need only the text after "A word a moment"

so i thought of this code which is not as expected

string outs = Regex.Replace(cont, "^.*\r\n\r\n", "", RegexOptions.Multiline);


what could be the pattern to remove the http response header so that i can just use the actual response?

Today's Beautiful Moments are
Tomorrow's Beautiful Memories

AnswerRe: stripping out http response header using Regex.Replace Pin
Moreno Airoldi8-Aug-09 0:48
Moreno Airoldi8-Aug-09 0:48 
QuestionRe: stripping out http response header using Regex.Replace Pin
Jayapal Chandran9-Aug-09 8:43
Jayapal Chandran9-Aug-09 8:43 
AnswerRe: stripping out http response header using Regex.Replace Pin
Moreno Airoldi9-Aug-09 23:34
Moreno Airoldi9-Aug-09 23:34 
GeneralRe: stripping out http response header using Regex.Replace Pin
Jayapal Chandran10-Aug-09 7:38
Jayapal Chandran10-Aug-09 7:38 
GeneralRe: stripping out http response header using Regex.Replace Pin
Moreno Airoldi10-Aug-09 7:53
Moreno Airoldi10-Aug-09 7:53 
QuestionNeed to parse GUID Pin
JohnQuar17-Aug-09 7:53
JohnQuar17-Aug-09 7:53 
AnswerRe: Need to parse GUID Pin
PIEBALDconsult7-Aug-09 8:04
mvePIEBALDconsult7-Aug-09 8:04 
GeneralRe: Need to parse GUID Pin
JohnQuar17-Aug-09 8:07
JohnQuar17-Aug-09 8:07 
GeneralRe: Need to parse GUID Pin
PIEBALDconsult7-Aug-09 8:11
mvePIEBALDconsult7-Aug-09 8:11 
GeneralRe: Need to parse GUID Pin
JohnQuar17-Aug-09 8:16
JohnQuar17-Aug-09 8:16 
GeneralRe: Need to parse GUID Pin
PIEBALDconsult7-Aug-09 8:28
mvePIEBALDconsult7-Aug-09 8:28 
QuestionLooping through multiple textboxes to retrive data using a variable Pin
msg551217-Aug-09 6:59
msg551217-Aug-09 6:59 
AnswerRe: Looping through multiple textboxes to retrive data using a variable Pin
Muhammad Mazhar7-Aug-09 7:11
Muhammad Mazhar7-Aug-09 7:11 
AnswerRe: Looping through multiple textboxes to retrive data using a variable Pin
Ennis Ray Lynch, Jr.7-Aug-09 7:14
Ennis Ray Lynch, Jr.7-Aug-09 7:14 
AnswerRe: Looping through multiple textboxes to retrive data using a variable Pin
Luc Pattyn7-Aug-09 7:23
sitebuilderLuc Pattyn7-Aug-09 7:23 
QuestionHow can I manage then number of applications instances running at the same time over a network? Pin
_awatts7-Aug-09 6:33
_awatts7-Aug-09 6:33 
AnswerRe: How can I manage then number of applications instances running at the same time over a network? Pin
Ennis Ray Lynch, Jr.7-Aug-09 6:46
Ennis Ray Lynch, Jr.7-Aug-09 6:46 

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.