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

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

Right To Left (RTL) Text Display in Angular and ASP.NET

Rick Strahls WebLog, May 24, 2015
Views: 79 | Hits

Yesterday I got a request for my Westwind.Globalization library about better support for Right To Left (RTL) language editing. The request was a simple one: When editing resources in our resource edit...

Querying DecentCMS, part 3: a paginated list of results

More Whidbey stuff, May 15, 2015
Views: 99 | Hits 1

In the previous two posts, I exposed the general design of DecentCMS search feature, and described its indexing and querying APIs. In this post, well apply what weve learned to build a paginated list ...

Manipulating CSS and HTML with RegEx

The Code Project Latest Articles, May 12, 2015
Views: 94 | Hits 4

This tip provides you with several RegEx find and replace patterns to search through and alter HTML and CSS....

Using Expressions to Provide a Type-Safe Member Lookup

The Code Project Latest Articles, May 11, 2015
Views: 98 | Hits 4

When GetProperty leaves you wondering if there really is a property named "Addreess" (sic) on the Type, using an Expression may be a better option....

PhoneGap and Jquery Mobile ? A Truly Winning Combination

The Code Project Latest Articles, May 8, 2015
Views: 108 | Hits 4

Any regular readers may have noticed that I finally got around to updating and adding a new book under "My Books" on the right-hand side of the screen. Yes, I not-so recently published my third book...

Validate and Find Addresses with RegEx

The Code Project Latest Articles, May 7, 2015
Views: 118 | Hits 1

Learn how to use regular expressions to find addresses or parts of an address in a given string. These patterns can also be used to verify that a given string is a true address....

Convert RTF to Plain Text (Revised Again)

The Code Project Latest Articles, May 5, 2015
Views: 106 | Hits 3

Handling for hex expressions and the trailing '}'...

ECMAScript 2015 Iterators Revisited

K. Scott Allen, May 5, 2015
Views: 105 | Hits

In an earlier post, we saw how to work with iterators at a low level and use an iterator’s next method to move from one item to the next item. What’s interesting about iterators in JavaScr...

Full Stack Web Camp Montreal

Laurent Duveau, April 11, 2015
Views: 171 | Hits 3

If you are into web development technologies do not miss this free event in Montreal!!What: Full Stack Web Camp.Microsoft is hosting a full stack web camp with a focus on front-end web development wit...

Manipulate your expression trees with elegance

The Code Project Latest Articles, April 8, 2015
Views: 146 | Hits 5

Create and manipulate your expression trees without having your hands dirty....

Introducing Semtrex

The Code Project Latest Articles, April 6, 2015
Views: 145 | Hits 5

Semtrex is a semantic tree expression evaluator...

Entity Framework 5.0 Generic Repository classes for CRUD operation with complex LINQ expression. Microsoft Visual Studio Test Tools Unit Testing

The Code Project Latest Articles, April 3, 2015
Views: 160 | Hits 4

The article demonstrates how to develop Generic classes not only for CRUD operation but also for search with System.Linq.Expressions.Expression parameter as predicate using Entity Framework 5.0 Databa...

Supporting nested shortcodes in WordPress

Run Tings Proper, March 30, 2015
Views: 134 | Hits

If youre writing your own [shortcodes] or have done in the past then its important that you follow this little tip. It will only take a couple of minutes to implement and it will save your end-users f...

The widget layer file in a DecentCMS site

More Whidbey stuff, March 24, 2015
Views: 151 | Hits 1

The widgets layer file can be found under /sites/name-of-the-site/widget/index.json. The index.json file describes the layers of widgets for the site. Layers are collections of widgets that can be tur...

DecentCMS placement files

More Whidbey stuff, March 20, 2015
Views: 162 | Hits 1

Placement files describe how to dispatch shapes into zones. They are necessary in order to decouple UI composition from individual templates. Templates can focus on what to render, while placement det...

Getting the most out of Sublime Text 2

Run Tings Proper, March 18, 2015
Views: 169 | Hits 10

Some cool tips that explain how to add in extra packages for LESS and Grunt support. I've been using this for a few weeks now and cancelling off the nagware requesting me to purchase as to be h...

Minimize Spacing using Regex

The Code Project Latest Articles, February 13, 2015
Views: 184 | Hits 4

Regex patterns that will condense multiple spaces, tabs or line breaks into a single space, tab, or line break....

Snippable: a human-writable multipart document format

More Whidbey stuff, January 20, 2015
Views: 188 | Hits 7

More and more projects are managing their documentation as a bunch of Markdown files in a repository. Sites such as Github make that really easy and convenient, by providing an easy web interface arou...

Dynamic Expresso

The Code Project Latest Articles, January 18, 2015
Views: 219 | Hits 10

Generate LambdaExpression or function delegate on the fly without compilation....

Why Developers Need to Understand Execution Plans

Simple Talk, January 12, 2015
Views: 196 | Hits 12

As a coder, the more you know about the business, the better code you're going to write. The more you know about the language in which you code regularly, the better code you're going to write. Simila...

Unleashing Path List Box | Expression Blend (WPF )

The Code Project Latest Articles, January 7, 2015
Views: 193 | Hits 2

Unleashing Path List Box using Expression Blend...

Delegates, Anonymous Methods and Lambda Expressions

The Code Project Latest Articles, January 1, 2015
Views: 233 | Hits 30

Brief description about Anonymous Methods and Lambda Expressions using Delegates....

Whats new in C# 6.0? - Expression-bodied function

The Code Project Latest Articles, December 28, 2014
Views: 315 | Hits 25

Did you explore the latest of C# 6.0? It brought another new feature called Expression-bodied function members which will allow you to write expression bodies for properties, methods etc. instead of w...

Database Build Automation The First Step to Continuous Integration

Simple Talk, December 16, 2014
Views: 181 | Hits 5

So you're keen to take the first steps to the continuous integration of your database. You have to start by getting your database into source control. You can then begin to automate your build process...

Textbox Regular Expression Validation

The Code Project Latest Articles, December 15, 2014
Views: 234 | Hits 14

An extension to the textbox control to offer textbox validation without the need to constantly apply code using regular expressions....

Fluent asynchronous API 5: internally calling methods

More Whidbey stuff, December 9, 2014
Views: 225 | Hits 13

One more thing about fluent asynchronous APIs… Because synchronous methods are changed into asynchronous ones by the flasync helper, internal calls of a synchronous method would in principle al...

Arrow Function In ES6

K. Scott Allen, December 9, 2014
Views: 218 | Hits 5

JavaScript has always been a functional programming language. You can pass functions as arguments to other functions, and invoke a function that returns a function back to you. The ES6 standard improv...

Fluent asynchronous API 3: the helper library

More Whidbey stuff, December 7, 2014
Views: 213 | Hits 8

In this third post, Ill show the inner workings of the little helper library that I wrote to build fluent asynchronous APIs. As youll see, its not simple, but analyzing it does, I hope, give interesti...

Simple Polynomial Addition and Subtraction

The Code Project Latest Articles, December 2, 2014
Views: 322 | Hits 8

Simple Polynomial Addition and Subtraction using Lambda Expressions for sorting Lists...

New Features in C# 6

C# Frequently Asked Questions, November 20, 2014
Views: 616 | Hits 40

C# 6 is the version of C# that ships with VS 2015 Preview. The philosophy behind this version is straightforward: improve simple everyday coding scenarios, without adding much conceptual baggage. The...

Stubbing the Orchard content manager

More Whidbey stuff, November 13, 2014
Views: 364 | Hits 2

Ive shown in the previous post how to build fake content items for testing purposes. When the code being tested gets content items from the content manager, however, you will also need a stub for the ...

Awaiting Expressions

The Code Project Latest Articles, October 28, 2014
Views: 228 | Hits 7

Using the await keyword with Expression-Trees...

Working with Validators and Messages in AngularJS

OdeToCode Latest Articles, October 16, 2014
Views: 247 | Hits 11

In a previous post we looked at a custom validation directive to confirm a user’s password. The bigger picture from the post was not about how to register a user for a website, but how to work w...

Building a WebAPI route in Orchard

More Whidbey stuff, October 3, 2014
Views: 644 | Hits 2

There’s a number of differences between regular MVC controllers and WebAPI controllers that make the latter much more suitable to building APIs: they are REST-centric, they can negotiate the for...

Features Of ES6 Part 7: Template Literals

K. Scott Allen, September 18, 2014
Views: 958 | Hits 5

Template literals provide JavaScript with some basic string formatting capabilities. Just like many template technologies, template literals in JavaScript consist of literal text, and placeholders whe...

Say no to grep, say hello to "real" code searching with Sando Code Search Extension

MSDN: Coding4Fun, September 8, 2014
Views: 1,020 | Hits 16

So there we are, in the middle of a big Solution and we need to quickly search for something, something beyond a simple term. We need to do a web search like search. A search where a full text index w...

Creating Reflection Effect in WPF - Expression Blend

The Code Project Latest Articles, September 3, 2014
Views: 1,016 | Hits 6

Creating Reflection Effect in WPF - Expression Blend...

SQL Server Reporting Services Basics: Customizing SSRS Reports

Simple Talk, August 27, 2014
Views: 927 | Hits 3

While the Reporting Wizard and basic report tables will do for prototyping, very soon we'll want to add some finesse to our reports, and allow our report users to create different views of the same da...

I lost 55lbs using these two amazing simple steps–you can too!

Method ~ of ~ failed, August 15, 2014
Views: 132 | Hits 2

TL;DR I got off my butt, started eating better and lost 40lbs in ~100 days. You can too. UPDATE: As of NOV-2014 Im down 55lbs since this timeframe. Feel amazing, found new hobbies that are active an...

I lost 40lbs using these two amazing simple steps–you can too!

Method ~ of ~ failed, August 15, 2014
Views: 1,010 | Hits 17

TL;DR I got off my butt, started eating better and lost 40lbs in ~100 days. You can too. This year started very depressing personally as each look in the mirror showed another chin growing under the...

C# 6.0 Features Part II : Primary Constructors

K. Scott Allen, August 14, 2014
Views: 1,085 | Hits 43

Primary constructors are a feature youll find in a few programming languages, including F#, Scala, and Kotlin. A primary constructor allows us to define a constructor for a type and capture the constr...

Features of ES6 Part 3: Default Parameter Values

K. Scott Allen, August 13, 2014
Views: 1,021 | Hits 15

If a JavaScript function takes two parameters, we have always had the ability to invoke the function and pass two parameters, or one parameter, or no parameters, or three parameters if we wanted. In c...

Your next CMS should be Craft or ExpressionEngine

Enterprise jQuery, August 11, 2014
Views: 138 | Hits

When it comes to content management systems there are hundreds of thousands of options. Even within a specific language like PHP there’s a vast array of different choices. I’m going to talk about two ...

Your next CMS should be Craft or ExpressionEngine

Enterprise jQuery, August 11, 2014
Views: 1,028 | Hits 13

When it comes to content management systems there are hundreds of thousands of options. Even within a specific language like PHP there’s a vast array of different choices. I’m going to talk about two ...

Thoughts on Angular's Controller As Syntax

K. Scott Allen, August 11, 2014
Views: 1,035 | Hits 9

I’ve been a bit late to the Angular controller as syntax. I was skeptical of the feature at first, and with an Angular project already in flight, I felt it wasn’t the type of change to ma...

Debugging AngularJS In The Console

K. Scott Allen, July 29, 2014
Views: 682 | Hits 19

Although Batarang gets a lot of attention, there may come a time when you need to dig a bit deeper into an Angular application, particularly if you are debugging or spelunking someone elses applicatio...

Expression Blend - Playing with Sample Data (WPF , Windows Phone)

The Code Project Latest Articles, July 23, 2014
Views: 348 | Hits 5

Expression Blend - Playing with Sample Data (WPF , Windows Phone)...

Handle GridView.OnSorting() and create sorting expression dynamically using LINQ

The Code Project Latest Articles, July 18, 2014
Views: 392 | Hits 6

How to create a sorting expression from GridViewSortEventArgs using LINQ Expression Tree....

Closures in Swift

Sahil Malik - blah.winsmarts.com, June 19, 2014
Views: 232 | Hits 1

SharePoint Training: more information Closures most frequently used in Jav...

An alternative introduction to Genetic and Evolutionary Algorithms

The Code Project Latest Articles, June 11, 2014
Views: 246 | Hits 5

This article presents a very small evolutionary algorithm capable of discovering some math expressions to give the results for the values you provide....