c# Programming Glossary: regexes
Regular expression to remove XML tags and their content http://stackoverflow.com/questions/121656/regular-expression-to-remove-xml-tags-and-their-content of different regex patterns. It also auto comments your regexes if desired so I decided to include those comments here to explain..
Are there .NET Framework methods to parse an email (MIME)? http://stackoverflow.com/questions/1669797/are-there-net-framework-methods-to-parse-an-email-mime lazy to change it. PS Internally my library users these regexes as a parser internal static string FullMessageMatch @ A header..
Regular expression where part of string must be number between 0-100 http://stackoverflow.com/questions/1909528/regular-expression-where-part-of-string-must-be-number-between-0-100 10000 86400 Second break into ranges that yield simple regexes 0 9 10 99 100 999 1000 9999 10000 79999 80000 85999 86000 86399.. 1 4 1 7 0 9 4 8 0 5 0 9 3 86 0 3 0 9 2 86400 Combining the regexes above yields 0 0 9 1 4 1 7 0 9 4 8 0 5 0 9 3 86 0 3 0 9 2 86400..
Add spaces before Capital Letters http://stackoverflow.com/questions/272633/add-spaces-before-capital-letters A Z 0 c# regex string share improve this question The regexes will work fine I even voted up Martin Browns answer but they..
Overlapping matches in Regex http://stackoverflow.com/questions/320448/overlapping-matches-in-regex nn nn n nn n nn nn I realize this is not exactly what regexes are meant for but walking the string and parsing this manually..
translate Perl regex to .NET http://stackoverflow.com/questions/3417644/translate-perl-regex-to-net Perl regex to .NET I have some useful regexes in Perl. Is there a simple way to translate them to .NET's dialect..
Regex replacements inside a StringBuilder http://stackoverflow.com/questions/3504850/regex-replacements-inside-a-stringbuilder trying to combine replacements reducing the number of regexes and thus intermediate strings used. share improve this answer..
Is there a way to dynamically execute a string in .net, similar to eval() in javascript or dynamic sql in sql? http://stackoverflow.com/questions/508213/is-there-a-way-to-dynamically-execute-a-string-in-net-similar-to-eval-in-jav strip spaces. Perhaps I could store a list of find replace regexes and iterate over them... but anyone have a better suggestion..
@(at) sign in file path/string [duplicate] http://stackoverflow.com/questions/5179389/at-sign-in-file-path-string for strings literals containing such as filepaths or regexes. For your simple example the gain isn't that big but image you..
Regular expression for validating names and surnames? http://stackoverflow.com/questions/888838/regular-expression-for-validating-names-and-surnames be looking for something similar to the many email address regexes that you can find on google. For the sake of clarity I don't..
Slow Regex performance http://stackoverflow.com/questions/9687596/slow-regex-performance string. And you usually want to use verbatim strings for regexes to cut down on the number of backslashes you need. How about..
|