Click here to Skip to main content
15,885,875 members
Home / Discussions / C#
   

C#

 
QuestionImplementation of Doubly linked list Pin
parantn18-Sep-09 2:33
parantn18-Sep-09 2:33 
AnswerRe: Implementation of Doubly linked list Pin
SeMartens18-Sep-09 2:40
SeMartens18-Sep-09 2:40 
AnswerRe: Implementation of Doubly linked list Pin
OriginalGriff18-Sep-09 2:48
mveOriginalGriff18-Sep-09 2:48 
GeneralRe: Implementation of Doubly linked list Pin
Ian Shlasko18-Sep-09 2:52
Ian Shlasko18-Sep-09 2:52 
GeneralRe: Implementation of Doubly linked list Pin
Luc Pattyn18-Sep-09 3:47
sitebuilderLuc Pattyn18-Sep-09 3:47 
GeneralRe: Implementation of Doubly linked list Pin
OriginalGriff18-Sep-09 4:22
mveOriginalGriff18-Sep-09 4:22 
AnswerRe: Implementation of Doubly linked list Pin
PIEBALDconsult18-Sep-09 4:40
mvePIEBALDconsult18-Sep-09 4:40 
QuestionNeed Help in Regular Expression? Pin
Jollyguy18-Sep-09 1:47
Jollyguy18-Sep-09 1:47 
Hi,

I have the following string and i will pass the filename and then i want to get the corresponding path...

<br />
string url = @" --------------Boundary-00=_BLD1cvEPKmuNkgPvUNY3  Content-Type: text/plain; charset=utf-8; name=footer.txt  Content-Disposition: attachment; filename=\""footer.txt\""  Content-Transfer-Encoding: base64    G:\test\Attach\test\footer.txt  --------------Boundary-00=_BLD1cvEPKmuNkgPvUNY3--  ";<br />
<br />
Regex r = new Regex(@"[a-z]:\\([a-z1-9\.\s]+\\)+[a-z1-9\.\s]+\.\w",RegexOptions.IgnoreCase);<br />
<br />
string regString = r.Match(url).ToString();<br />


I am able to get the output as :
G:\test\Attach\test\footer.t

In the above url string there maybe a chance that there will be 2 or more attachment codes like the above in the same string. I want to get the path alone like G:\test\Attach\test\ by passing a filename along with extension.

I don't know how to do it? Can someone pls help me out.

Thanks,
Raja.
AnswerRe: Need Help in Regular Expression? Pin
Luc Pattyn18-Sep-09 1:59
sitebuilderLuc Pattyn18-Sep-09 1:59 
QuestionHow to Install MySql in silent mode with Setup Application Pin
Paramhans Dubey18-Sep-09 1:45
professionalParamhans Dubey18-Sep-09 1:45 
QuestionDOM Problems ? Pin
Jacobb Michael18-Sep-09 1:22
Jacobb Michael18-Sep-09 1:22 
AnswerRe: DOM Problems ? Pin
SeMartens18-Sep-09 2:42
SeMartens18-Sep-09 2:42 
Questioncan any body tell me the answer for this... Pin
User 653586818-Sep-09 1:00
User 653586818-Sep-09 1:00 
AnswerRe: can any body tell me the answer for this... Pin
Tamer Oz18-Sep-09 1:03
Tamer Oz18-Sep-09 1:03 
AnswerRe: can any body tell me the answer for this... Pin
Jacobb Michael18-Sep-09 1:06
Jacobb Michael18-Sep-09 1:06 
AnswerRe: can any body tell me the answer for this... Pin
dan!sh 18-Sep-09 1:45
professional dan!sh 18-Sep-09 1:45 
QuestionRe: can any body tell me the answer for this... Pin
harold aptroot18-Sep-09 1:46
harold aptroot18-Sep-09 1:46 
AnswerRe: can any body tell me the answer for this... Pin
Luc Pattyn18-Sep-09 2:02
sitebuilderLuc Pattyn18-Sep-09 2:02 
QuestionReport Creating in C# ? Pin
Mohammad Dayyan18-Sep-09 0:54
Mohammad Dayyan18-Sep-09 0:54 
AnswerRe: Report Creating in C# ? Pin
Jacobb Michael18-Sep-09 1:10
Jacobb Michael18-Sep-09 1:10 
GeneralRe: Report Creating in C# ? Pin
Mohammad Dayyan18-Sep-09 1:35
Mohammad Dayyan18-Sep-09 1:35 
GeneralRe: Report Creating in C# ? Pin
Jacobb Michael18-Sep-09 1:58
Jacobb Michael18-Sep-09 1:58 
GeneralRe: Report Creating in C# ? Pin
Mohammad Dayyan18-Sep-09 2:12
Mohammad Dayyan18-Sep-09 2:12 
GeneralRe: Report Creating in C# ? Pin
Jacobb Michael18-Sep-09 17:22
Jacobb Michael18-Sep-09 17:22 
GeneralRe: Report Creating in C# ? Pin
Mohammad Dayyan18-Sep-09 18:09
Mohammad Dayyan18-Sep-09 18:09 

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.