1
vote
0answers
36 views

Export Wikipedia article to get summary information

I'm trying to get introduction from wikipedia article to include it into report. For example, for this article: http://en.wikipedia.org/wiki/MAP3K8 I want to get: Mitogen-activated protein ...
1
vote
0answers
80 views

Effective way to search error handling bugs (regexes, parsers)

I'd like to search over thousands of files of c# code, for some evil places, where exceptions are possibly taken under the cover or at least not logged. I need regex expression which is able to find ...
1
vote
0answers
38 views

RestRoute that allows periods in id and accepts result format

I have a heavily used REST service based on asp.net mvc. One of the resources is for users where you specify a given user with a route like this: .../User/{id}.{format} Ex: ...
0
votes
0answers
58 views

Output value with System.Diagnostic.Debug.WriteLine()

I'm trying to find the value in this line of code:- var import = match.Groups[1].Value; in this method of my LessTransform.cs class private static string ResolveImports(FileInfo file) { ...
0
votes
0answers
83 views

Pass HTML checkbox in DataTable to HTML table

I am loading the rows of a DataTable from a list. Im trying to create an HTML checkbox in each row of the first column. Following loading of the DataTable (example provided in Portion 1), I convert ...
0
votes
0answers
76 views

Regex - Remove HTML Markup, without some of the tags

I have the following HTML markup: <div class="someClass"> <h1>This is the title</h1> <p>Some text</p> <p>Some more text</p> </div> I need ...
0
votes
0answers
64 views

Regex.IsMatch matches multiple results

I have two files with names: abc_2013-01-01_2013-02-01_remote-987123_local-13809 bcd_2013-02-02_2013-03-01__remote-192.168.10.1_local-127.0.0.1 I want to split the file name and insert ...
0
votes
0answers
70 views

Uri.UnescapeDataString fails on different computer

On my dev computer everything was working fine and dandy but when I tested the program on a different Windows7 computer I was getting a System.UriFormatException: Invalid URI: There is an invalid ...
0
votes
0answers
69 views

Filter trash from Byte[]

I want to filter out a lot of trash from my Byte[]. but I don't know how I should do it. When I convert the Byte[] to a string, the output is the following: ...
0
votes
0answers
142 views

No matches on string comparison (with regex filter) & notify only on new values

I am developing an app that checks a classified ad website for the newest ads. It should notify me when there is a new ad at a special price. i is the price value i'm ready to pay and m1 are all ...
0
votes
0answers
58 views

Regex Node in Html

I want to select node some text in <> signs and change its color... MatchCollection begin = Regex.Matches(richXmlBox.Text, @"\<\b.*\>\b"); if (begin != null && begin.Count > ...
0
votes
0answers
38 views

Replace non-decimal in KeyUp

Thanks to Joey in this question Remove non-digits, non-decimals, repeating decimals. I have a Regex.Replace, that looks like this Regex.Replace(Txt, "[^-?\d+\.]|(?<=\.[^.]*)\.", ""); But now I ...
0
votes
0answers
114 views

Mono, Regex and stack size

I'm porting a piece of C# software that uses System.Text.RegularExpressions.Regex for parsing out C/C++ includes out of source files. They are fully loaded into memory as a string and then just ...
0
votes
0answers
138 views

Regular Expression Pattern \K Alternatives in C#

I have a regex expresion that I teste on http://gskinner.com/RegExr/ and it worked, but when I used it in my C# application it failed. Regex expression: (?<!\d)\d{6}\K\d+(?=\d{4}(?!\d)) Text: ...
0
votes
0answers
74 views

Regex expression to update the div's style properties - width & height

Sample string:- <div class="ui-droppable" id="ParentDIV" style="width: 286pt; height: 212pt; background-color: #00752d; background-image: none;"> <div class="be-canvas-grid" ...

1 2 3 4 5 18
15 30 50 per page