News in the Category: Regex Subscribe to the rss of this category.

Total posts: 806 | Sort by Views | Sort by Hits

On accessing chains of potentially null properties

More Whidbey stuff, April 21, 2014
Views: 39 | Hits 15

Raise your hand if youve ever written code looking like this: var result = default(int);if (fubar != null) { var foo = fubar.Foo; if (foo != null) { var bar = foo.Bar; if (bar ...

Parsing a Key-Value pair with a Regular Expression

The Code Project Latest Articles, April 10, 2014
Views: 35 | Hits 6

A walk-through on how a Key-Value pair can be parsed using a PERL-compatible regex engine...

Using Linq with Regular Expression results

The Code Project Latest Articles, March 28, 2014
Views: 64 | Hits 16

Want to use Linq, or Linq methods with the results from your Regex? Yes, so did I...annoying isn't it? So...a solution....

IoT Thermal Printer, all with a little Py and Pi

MSDN: Coding4Fun, March 28, 2014
Views: 43 | Hits 4

Today's Hardware Friday has I think zero Microsoft technology in it. No Netduino, no .Net, no C#, nothing. But I thought it was really cool and well, sometimes we really need to look outside of our li...

Building Better Models For AngularJS

K. Scott Allen, March 17, 2014
Views: 60 | Hits 24

Retrieving JSON data and binding the data to a template is easy with Angular, so easy that quite a bit of Angular code appears like the following. <button title="Make movie longer" class="btn" ...


The Code Project Latest Articles, February 28, 2014
Views: 37 | Hits 2

ViewStateis the mechanism that allows state values to be preserved across page postbacks.Because of the stateless nature of web pages, regular...


The Code Project Latest Articles, February 28, 2014
Views: 37 | Hits

ViewStateis the mechanism that allows state values to be preserved across page postbacks.Because of the stateless nature of web pages, regular...

Learn Regular Expressions (RegEx) with Ease

The Code Project Latest Articles, February 24, 2014
Views: 73 | Hits 10

In this article we will try to understand what regex is and how to remember those cryptic syntaxes easily....

Expresso - A Tool for Building and Testing Regular Expressions

The Code Project Latest Articles, February 18, 2014
Views: 72 | Hits 10

For learning, building, and debugging .NET Framework regular expressions...

Thoughts On JavaScript Generators

K. Scott Allen, February 17, 2014
Views: 58 | Hits 7

In a previous post we used a Node.js script to copy a MongoDB collection into Azure Table Storage. The program flow is hard to follow because the asynch APIs of both drivers require us to butcher the ...

Multi Threaded WebScraping in C#

The Code Project Latest Articles, February 5, 2014
Views: 191 | Hits 17

Beginner to Advance - Multithreaded Web Scraping with Examples of WebBrowser, WebClient, HttpWebRequest/HttpWebResponse, Regex, BackgroundWorker....

Add Delimiters to Numbers in JavaScript Using Regex

The Code Project Latest Articles, February 1, 2014
Views: 103 | Hits 8

Use regular expression to add user-defined delimiters to numbers in JavaScript...

What's Changing in MongoDB 2.6 and Why?

The MongoDB NoSQL Database Blog, January 27, 2014
Views: 149 | Hits 6

By Alex Komyagin, Technical Services Engineer in MongoDB’s New York OfficeThe MongoDB Support Team has broad visibility into the communitys use of MongoDB, issues they encounter, feature request...

Before you grab that content, think

Brendan Tompkins, January 26, 2014
Views: 87 | Hits 7

Recently, I’ve been asked about copyright matters and fair use. I thought I’d take a few minutes and post here and hopefully, begin posting here on a regular basis!! Whenever you take an image or some...

Drag it

The Code Project Latest Articles, January 24, 2014
Views: 84 | Hits 3

Drag values up/down like in Expression Design & Blend...

Help Improve the Markdown Port articles, news and updates, January 24, 2014
Views: 65 | Hits 2

Almost an eternity ago, I ported John Gruber's Markdown to C#. The Markdown syntax is known quite well outside of the .NET community, so I wanted to bring it to this camp. Even though I've se...

AngularJS Training

K. Scott Allen, January 21, 2014
Views: 93 | Hits 1

At the end of last year I put together and taught a 2 day workshop on AngularJS fundamentals at NDC London, which due to popular demand I’m offering as part of a larger class for ProgramUtviklin...

Gratitude And Happiness

Peter Brombergs UnBlog, January 9, 2014
Views: 89 | Hits 3

A friend posted somebody's link to a short movie about gratitude and happiness, and I instantly got the ""connection"" because it parallels many of the things that have been going on in my life ri...

Let's Take A Closer Look at Gun Deaths in the United States

Peter Brombergs UnBlog, December 23, 2013
Views: 87 | Hits 7

This is the kind of emotional rhetoric and propaganda promoted by the progressive liberal anti-gun movement:""Over 11,000 people died from guns this year, Over 200 were children. 2014 needs to be th...

Triangle List Generator for Sphere

The Code Project Latest Articles, December 20, 2013
Views: 116 | Hits 5

This article demonstrates a simple and fast method for generating a list of regular triangles that form a unit sphere surface...

Giving Clarity to LINQ Queries by Extending Expressions

Simple Talk, November 15, 2013
Views: 92 | Hits 9

LINQ expressions can be made much easier to comprehend and modify by using extension methods to create pipes and filters. Ed takes a working LINQ expression and makes stepwise improvements to it to ma...

Managing Active Directory with PowerShell

Simple Talk, November 11, 2013
Views: 89 | Hits 5

For the busy administrator of a windows domain, any regular task or housekeeping process should be automated, and the Cmdlets that are now provided with Active Directory have improved to the point tha...

Rendering Lists in Irregular Columns Using iText / iTextSharp

Scott on Writing, October 15, 2013
Views: 161 | Hits 3

Todays blog post is going to be a bit obscure, but I stumbled across this problem recently and found a workaround that I thought would be worth sharing for anyone else who found themselves in my place...

Fast custom formulae, filtering and sorting in DataGrids

The Code Project Latest Articles, October 15, 2013
Views: 128 | Hits 5

Tame the WinForms and WPF inbuilt DataGrids to work with 200,000+ rows by using compiled Linq Expressions...

Line Counting Trickery within Visual Studio

The Code Project Latest Articles, October 11, 2013
Views: 148 | Hits 7

This post will cover how to get the number of lines of code within your application in both premium and non-premium versions of Visual Studio through either the integrated Code Metrics tools (Premium-...

Weighted index a simple, powerful prioritization tool

Brendan Tompkins, September 30, 2013
Views: 137 | Hits 6

“What?! Don’t everyone know about this?” There’s some tools and practices that I use on a regular basis that have grown so familiar and accustom to me that I’m almost embarrassed to talk about them. B...

Moving Data In An AngularJS Directive

K. Scott Allen, September 11, 2013
Views: 249 | Hits 11

This plunkr demonstrates a few different scenarios and capabilities when moving data between a model and a directive. Like other places in Angular JS there are quite a number of different approaches ...

Enhancing the F# developer experience with MongoDB

The MongoDB NoSQL Database Blog, August 28, 2013
Views: 172 | Hits 4

This is a guest post by Max Hirschhorn,who is currently an intern at MongoDB.About the F# programming languageF# is a multi-paradigm language built on the .NET framework. It isfunctional-first and pre...

The Search Engine Developer

Rick Strahls WebLog, August 24, 2013
Views: 155 | Hits 5

Scott Hanselman yesterday posted a piece on how easy it is to become what I call a Search Engine Developer. His post really hit home with me as I've done a lot of research for various development chal...

Short but very usueful regex lookbehind, lazy, group, and backreference

The Code Project Latest Articles, August 16, 2013
Views: 175 | Hits 10

Short but very usueful regex....

Group and Display Data with Underscore and AngularJS

K. Scott Allen, August 8, 2013
Views: 229 | Hits 8

Let’s use the following data to simulate information you might receive from an HTTP API: $ = [ { department: "engineering", name: "Scott" }, { department: "engineering", ...

Validation For File Upload Control in ASP

The Code Project Latest Articles, July 25, 2013
Views: 253 | Hits 5

Validation with a file upload control using regular expression validation control in ASP.NET...

Learn Regular Expressions (RegEx) with Ease

The Code Project Latest Articles, July 24, 2013
Views: 225 | Hits 19

In this article we will try to understand what regex is and how to remember those cryptic syntaxes easily....

NeDB: a lightweight Javascript database using MongoDB's API

The MongoDB NoSQL Database Blog, July 17, 2013
Views: 239 | Hits 5

This is a guest post by Louis ChatriotSometimes you need database functionality but want to avoid the constraints that come with installing a full-blown solution. Maybe you are writing a Node service ...

AngularJS Drag and Drop Photo Directive

K. Scott Allen, July 10, 2013
Views: 306 | Hits 8

Continuing from previous posts on building a file input directive and a file reader service, this post contains my first try at a drag-n-drop directive that uses the file reader service to copy an ima...

Regex Quick Reference

The Code Project Latest Articles, June 26, 2013
Views: 563 | Hits 55

A convenient Regex overview....

Using DAX to retrieve tabular data

Simple Talk, June 24, 2013
Views: 218 | Hits 3

Data Analysis Expressions (DAX), originally the formula language for PowerPivot workbooks, can also be used within the MDX query window of SSMS to directly access data from a tabular SSAS database, an...

Hidden Code Mines

youve been HAACKED, June 17, 2013
Views: 357 | Hits 16

Code is unforgiving. As the reasonable human beings that we are, when we review code we both know what the author intends. But computers cant wait to Well, Actually all over that code like a lonely Ha...

Integrating MongoDB Text Search with a Python App

The MongoDB NoSQL Database Blog, June 4, 2013
Views: 543 | Hits 14

By Mike OBrien, 10gen Software engineer and maintainer of Mongo-HadoopWith the release of MongoDB 2.4, its now pretty simple to take an existing application that already uses MongoDB and add new featu...

Delaying product key / activation when building a Windows 8 virtual machine

JonGalloway.ToString(), June 2, 2013
Views: 503 | Hits 14

I've been building a lot of Windows 8 virtual machines lately, and I've noticed that the product key / activation steps have changed from Windows 7 to Windows 8. With any of the Windows 8 ISO's I've u...

MongoDB's New Matcher

The MongoDB NoSQL Database Blog, May 28, 2013
Views: 350 | Hits 14

new implementation of the MatcherThe New Matcher in 2.5.0 is a total rewrite. It contains three separate pieces: an abstract syntax tree (hereafter AST) for expression match expressions, a parser from...

Authentication in Web APIs. Keys, OAuth or HMAC

Pablo M. Cibraro (aka Cibrax), May 21, 2013
Views: 659 | Hits 43

Most of the Web APIs available out there in the web nowadays use some kind of authentication for identifying client applications. Although they implement authentication in different ways, they can be ...

AngularJS Abstractions: Filters

K. Scott Allen, May 20, 2013
Views: 578 | Hits 17

Filters in AngularJS can form a pipeline to format and adapt model data inside a view. The built-in filters for AngularJS are date (format a date), filter (select a subset of an array), currency (form...

AngularJS Abstractions: Scope

K. Scott Allen, May 16, 2013
Views: 473 | Hits 25

Continuing from the controllers post, the parameter to the controller function is named $scope. var AboutController = function($scope) { // ... }; The name $scope is important since it allo...

Adding secondary tiles to your app

the telerik blogs, May 9, 2013
Views: 554 | Hits 6

Secondary tiles enable users to promote specific content and deep links. It enables you to personalize your app experience and give user the power on how they want to access data within their app. Con...

Continuous integration for databases using Red Gate tools

Simple Talk, May 7, 2013
Views: 354 | Hits 11

Once databases are placed in source control, it is possible to integrate them into the existing build automation process.  This will ensure that the whole development project, including the database, ...

Avoid Failing Tests When Automating Dynamic Ajax Requests

the telerik blogs, April 22, 2013
Views: 494 | Hits 6

A practical example featuring RadComboBox for ASP.NET AJAX Asynchronous delays are the second biggest automation issue you need to nail down in your environment—locators/find logic being the ...

De Correspondent - future of journalism?

QuirksBlog, April 15, 2013
Views: 432 | Hits 7

One of the things I’ve been following closely these past few weeks is an initiative for a new kind of journalism here at home. To me it’s not so much about the journalism as it is about the business m...

New Hash-based Sharding Feature in MongoDB 2.4

The MongoDB NoSQL Database Blog, April 10, 2013
Views: 509 | Hits 13

shell$ wget -O web_crawler.htmlshell$ mongo connecting to: /test> use mydbswitched to db mydb> cat("web_crawler.html").split("\n").forEach( function(...

DtPad, the C# based text editor that's ++

MSDN: Coding4Fun, March 20, 2013
Views: 658 | Hits 39

Recently we highlighted a control that you could use to create your own text editor, if you applied a good bit of elbow grease, Creating your own Text Editor with AvalonEditToday's project by Marco Ma...