C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Scott Lysle(5)
Kevin Morales(3)
Aarav Patel(2)
Mobeen Rashid(2)
Rion Williams(2)
Kailash Chandra Behera(2)
Shivprasad (2)
Shantanu (2)
Vinod Kumar(2)
Sapna (2)
C# Curator(2)
Prasad (2)
Keyur (2)
Sriganapathi Sekar(1)
Tuhin Paul(1)
Niharika Gupta(1)
Baibhav Kumar(1)
Vijay Yadav(1)
Satyaprakash Samantaray(1)
David Mccarter(1)
Sarvesh Shinde(1)
Shriram Pophali(1)
Kiran Mohanty(1)
Arindam Dawn(1)
Abhishek Duppati(1)
Thiago Vivas(1)
Ahmad Mozaffar(1)
Amit Choudhary(1)
Neeraj Kumar(1)
Manish Kumar Choudhary(1)
Shaili Dashora(1)
Pankaj Lohani(1)
Nitin Bhardwaj(1)
Gaurav Chauhan(1)
Manish Singh(1)
Soft Corner(1)
Kirtan Patel(1)
Ashish Singhal(1)
Mike Gold(1)
Tiberiu Ionescu(1)
Ashish Banerjee(1)
Ishika Tiwari(1)
Manpreet Singh(1)
Gaurav Kumar Arora(1)
Shekhar Chauhan(1)
Vinod Shalgar(1)
Paul (1)
Mohammed Asief(1)
Sandhiya Priya(1)
Subarta Ray(1)
Rajeev Kumar(1)
Jitendra Mesavaniya(1)
Jignesh Kumar(1)
Vithal Wadje(1)
Vishal Gilbile(1)
Ehtesham Mehmood(1)
Mudita Rathore(1)
Amalendu Dey(1)
Amir Ali(1)
Gaurav Gupta(1)
Rohatash Kumar(1)
Dinesh Beniwal(1)
Sathyaish Chakravarthy(1)
Prasoon (1)
Amit M(1)
Anand Kumar(1)
waheedkhan (1)
Paul Lockwood(1)
Resources
No resource found
Python - File Operations and Regular Expressions
Nov 17, 2025.
Master Python file handling: read, write, and manipulate text & binary files. Explore regular expressions for data extraction and validation. Learn by example!
Calculating the Area of Any Regular Polygon: Powering Solar Farm Layout Optimization
Oct 12, 2025.
Unlock the power of regular polygon area calculation for solar farm optimization! This article provides a comprehensive guide, from the mathematical formula to Python implementation, complete with validation, edge cases, and best practices. Learn how to maximize land use and energy yield in renewable energy projects, ensuring cost-effectiveness and a sustainable future. Discover real-world applications and step-by-step instructions for efficient solar panel array design.
Validate Email Addresses with Regular Expressions in C#
Oct 06, 2025.
Learn how to effectively validate email addresses in C# using regular expressions (regex). This guide covers practical regex patterns, from simple checks to more robust RFC-like validation. Explore safer alternatives like System.Net.Mail.MailAddress and techniques for handling internationalized domains (IDN). Discover best practices for performance, security, and comprehensive email verification beyond just format, including unit testing and real-world examples.
What are arrow functions and how are they different from regular functions?
Aug 20, 2025.
Arrow functions provide a simpler and more concise way to write functions in JavaScript. This article explains what arrow functions are, their syntax, and how they differ from regular functions in behavior and use cases.
What are Difference between Regular functions and Normal Functions?
Aug 20, 2025.
Arrow functions in JavaScript provide a shorter and cleaner way to write functions. This article explains what arrow functions are, how they differ from normal functions, and when to use them effectively.
What Are Generators vs Regular Functions in Python?
Aug 08, 2025.
Learn the key differences between generators and regular functions in Python. Understand how they work, when to use them, and how they impact memory and performance with real Python code examples.
Essential Regular Expressions for Web Development
Jul 31, 2024.
Learn how to use regex for effective input filtering, text parsing, and string manipulation in both front-end and back-end environments. Master these techniques to build robust web applications.
Angular URL/Site Validation using Regular Expression and Bootstrap with Reactive Forms
Feb 26, 2024.
Steps to add validation for URL using the regex pattern in the angular application. I will explain steps to create a form with text input using the reactive forms in angular. This input field will only accept the URL.
The Fastest Way To Use Regular Expressions In Microsoft .NET 7
Apr 06, 2023.
In this article, you will learn about the Fastest Way to Use Regular Expressions in Microsoft .NET 7.
How A Regular User Can Cancel Running Flow Instance Automatically?
Jan 13, 2022.
In this article we will learn to allow a regular user to cancel the running FLOW instance automatically when he/she changes the status of their record to Cancelled.
PowerApps - PCF - Input Formatter With Regular Expression
Jan 10, 2022.
The benefit and advantage of this component is to dynamically apply validation pattern to HTML5 input control with the help of custom regular exppression. Along with this, it also provides some masked input types like “Date”, “DateTime”, “Time”, “Password”. Custom CSS Styles provides freedom to apply attractive styles as per design and branding. If the control is makred as Required, then input box border can be shown in red color just to highlight about invalid input. This code component is developed and distributed considering both Citizen developer and Pro developer use case scenarios. It is very simple to use and configure.
Learn About Regular Expressions In C#
Oct 06, 2020.
In this article, you will learn about regular Expressions in C#.
30 Days Of Python 👨💻 - Day 19 - Regular Expressions
Aug 11, 2020.
In this article, you will learn about Regular Expressions in Python.
Understanding Regular Expressions
Apr 28, 2020.
A Regular Expression, or Regex, is a pattern we search for in a text. Regex helps with matching, locating, and managing text.
The Power Of Regular Expressions, Regex
Oct 01, 2019.
In this article, we are going to explore the World of the Regular Expressions, what it is and how we could take advantage of using it.
Validating User Input Using Regular Expression With C#
Dec 22, 2017.
In software development, validating user input is crucial to prevent errors and security issues. Regular expressions (regex) are used to validate fields such as email, zip codes, and phone numbers. This C# example demonstrates using regex for validation in a Windows Forms app, ensuring data accuracy and security.
Overview Of Regular Expressions With Visual Studio
Dec 27, 2016.
In this article, you will learn about regular expressions in an easy way with Visual Studio.
.NET Regular Expressions Demystified - Part Two
Aug 02, 2016.
In this article, you will learn about .NET Regular Expressions demystified.
.NET Regular Expressions Demystified - Part One
Jun 29, 2016.
In this article, you will learn about Regular Expressions in .NET and C# Regex class is used to work with regular expressions in C#.
Python Language Tutorial: Regular Expression - Part Six
May 11, 2016.
In this article you will learn about Regular Expression in Python.
Validating Social Security Numbers Through Regular Expressions
Nov 09, 2015.
In this article you will learn how to validate Social Security numbers through Regular Expressions.
Introduction to Regular Expressions
Dec 22, 2014.
This article is the beginning of a series on regular expressions and the importance of learning such technologies. The article attempts to explain why this should matter to us.
List of Most Common Regular Expressions and Their Uses
Dec 03, 2014.
This article lists common regular expressions and their uses in JavaScript and C#.
What is a Regular Expression in C#?
Nov 01, 2014.
What is a regular expression in C#, and how to use them in your code?
MatchEvaluator Delegate of a Regular Expression Replace Method in ASP.Net
Dec 10, 2013.
This article explains the MatchEvaluator Delegate of a custom verification for each match found by a Regular Expression Replace method.
Finding Directories With Regular Expressions
Aug 26, 2013.
This article provides an example of using a regular expression to search a directory and determine a file type. C# Regular Expressions
Validating User Input With Regular Expressions
Aug 17, 2013.
This article explains how to use Regular Expressions (the Regex class of the System.Text.RegularExpressions namespace) in C# and .NET.
Draw Regular Polygon In TypeScript
Mar 15, 2013.
In this article I explain how to draw a regular polygon using TypeScript.
Matching Characters Using Regular Expressions in QTP in Testing
Oct 19, 2012.
In this article we discuss various matching techniques for matching characters using Regular Expressions.
Validation in HTML5 Using Regular Expressions
Feb 21, 2012.
This is a simple application for beginners that shows how to create validation on TextBoxes using HTML5 and CSS tools. We know that HTML 5 is the advanced version of HTML.
B- Ball, C- Cat, D - dog: - Learning (REGEX) regular expression the easy way
Mar 23, 2011.
Regex has been the most popular and easiest way of writing validations. The only big problem with regex has been the cryptic syntax. Developers who are working on projects with complicated validation always refer to some kind of cheat sheet to remember the syntaxes and commands.
Collection of Regular Expression
Mar 18, 2011.
Collection of Regular Expression in C#.
Harnessing Regular Expressions in SQL Server using CLR Integration
Dec 02, 2010.
This article discusses how to create a Regex library of CLR functions for SQL Server. CLR Integration is available in SQL Server 2005 and above.
Using Compiled Regular Expressions
Feb 22, 2010.
This article explains about how to minimize performance degradation caused by frequently used complex regex using compiled Regular Expressions.
Extend the Textbox Control to Validate Against Regular Expressions
Jan 05, 2007.
This article describes an approach to validating text box entries against a regular expression.
Validating User Inputs Using Regular Expressions
Jan 28, 2006.
This article shows how can we validate our inputs using regular expressions.
NotePad.NET II - Find and Replace Inside a Document Using Regular Expressions
Sep 04, 2005.
This article is a continuation of the discussion about a notepad.net editor which improves upon the current functionality in notepad. In this article we talk about regular expression matching inside the find dialog.
Formula Generator - A Regular Expression Generator Class in C# and .NET
Aug 17, 2004.
The attached source code is a class - FormulaGenerator, which is a component that interprets and evaluate a string expression
Snooping on C#.NET Regular Expressions
Jun 26, 2001.
I present here two micro test utils, which will let you play with regular expressions. Regular expression( System.Text.RegularExpressions.Regex ) is a powerful class very useful for parsing, splitting or replacing texts.
Regular function vs Arrow function in JavaScript
Apr 20, 2023.
In this article, we will learn the difference between the regular function and the arrow function in JavaScript
Regular Expression Using Nintex Workflows In SharePoint 2013 And Office 365
Jan 29, 2016.
In this article you will learn Regular Expression using Nintex Workflows in SharePoint 2013 and Office 365.
Regular Express Yourself Using RegExpBuilder
Nov 05, 2015.
In this article you will learn about Regular Expressions and using RegExpBuilder.
Regular Expressions Part 3: Negation and Assertions
Jul 28, 2015.
This is a continuation of my series on regular expressions.
Regular Expression Special Characters at a Glance
Feb 11, 2015.
In this article we will walk through with the special characters in Regular Expressions.
Regular Expressions Part 2: Grouping, Quantifiers, and Character Classes
Jan 08, 2015.
This article will attempt to explain and demonstrate the concepts of grouping and character classes. It will provide detailed content and examples to illustrate each concept.
Regular Expression in PHP
Sep 30, 2013.
Regular expression is very useful for validation or pattern matching.
Regular Expressions in QTP in Testing
Dec 17, 2012.
In this article we discuss the Regular Expressions in QTP
Regular Expressions To Validate an ASP. NET Form Using JQuery
Nov 07, 2011.
In this article we will discuss how to write Regular Expressions to validate an ASP. NET form using Jquery.
Regular Expression Validator HtmlHelper for ASP .Net MVC
Feb 09, 2011.
Sometimes, it is useful to use regular expressions for validations. The Regular Expression Validator HtmlHelper is designed to help developers accomplish this.
Regular Expressions in C#
Jan 28, 2010.
In this article I will explain you about Regular Expressions in C#.
Regular Expression Usage in .Net Environment
Apr 19, 2007.
This article describes how to use regular expression in .Net.
Regular Expressions In .NET
Jul 05, 2006.
Regular Expressions in .NET are implemented using the C# Regex class. Learn here how Regex in .NET works.
Regular Expression Validator
Mar 14, 2003.
This tool is useful when you are creating Regular Expression. This tool will help you in checking syntax of the regular expression typed in.
Regular Expressions In C#
Sep 07, 2001.
C# Regex class provides functions to implement regular expressions. The code example includes how to use Regular Expressions in C# for IsNaturalNumber, IsWholeNumber, IsPositiveNumber, IsInteger, IsNumber, IsAlpha, and IsAlphaNumeric.
Regular Expressions Example
May 14, 2001.
The following example shows the use of Regular Expressions in C#.This program has basic validation scripts for validation easily useable in all programs.
How to disable or remove ViewState Hidden Field in ASP.NET Page
Nov 06, 2025.
Learn how to effectively disable or remove the ViewState hidden field in your ASP.Net pages using C# and regular expressions. Optimize your page size and improve performance by eliminating unnecessary ViewState data. This method involves overriding the Render event to remove the ViewState tag.
Using Regex in C# 9.0
Dec 28, 2024.
Regular Expressions (Regex) can help with text processing, validating data, and manipulating strings in C# 9.0. This article explains the key features, applications, and benefits of using Regex in your code.
How to Get Only Letters from a String in C#?
Aug 05, 2024.
Learn how to extract only the letters from a string in C# using various methods. This guide covers techniques such as using regular expressions, string manipulation methods, and LINQ to filter out non-letter characters.
Exploring String Searching Techniques in C#
May 02, 2024.
Searching for substrings within strings is a fundamental operation in software development, and in the context of C# programming, there are several techniques and methods available to accomplish this task efficiently. In this article, we will explore various string searching techniques in C#.
Understanding LIKE vs ILIKE in PostgreSQL
Dec 05, 2023.
In this article, we will focus on the differences between the LIKE and ILIKE operators, and how to use them effectively.
Getting Started with Regex in C#
Oct 18, 2023.
Regex, or regular expressions, are essential for text processing in C#. They facilitate pattern matching, data extraction, and validation, empowering developers with versatile and powerful text manipulation tools.
Count Number Of Character Occurrences In A String Using JavaScript
Apr 04, 2023.
In this article, I am going to demonstrate various way to count number of character occurrences in a string javascript
C# Regex Examples (2023)
May 22, 2019.
C# Regex represents regex in C#. Here are the top 7 C# Regex code examples.
PAN Card Validation Using ASP.Net
Nov 02, 2014.
In this article we will learn about PAN card Validation in ASP.NET.
URL Routing in MVC4
Aug 07, 2014.
We’ll try to demonstrate how the routing works in a MVC4 application. For this we’ll take an example.
Email Checker Program in C#
Mar 12, 2014.
In this article we will use Regular Expressions to check an email for correct format in C#.
Regex Routing Using Backbone.JS
Feb 28, 2014.
In this article we will learn about Regular Expression Routing. If you want to be more selective in your routing and the route URL that matches the specified criteria then we can use a regular expression.
C# Corner Delhi Chapter Meet, 21 September, 2013: Official Recap
Sep 23, 2013.
The C# Corner Delhi Chapter organized its monthly event at MCN Solutions Pvt. Ltd. It was another very successful session.
How to Validate Email in Android Studio
Jun 06, 2013.
In this article you will learn how to Validate Email in Android Studio.
Learn .NET in 60 Days - Part 2 (13 Labs)
Mar 02, 2013.
This article is part 2 of Learn .NET in 60 Days series. It will provide further details.
Validation For File Upload Control in ASP.NET
Feb 17, 2013.
In this article I explain validation with a file upload control using regular expression validation control in ASP.NET.
Server Side Validation in PHP
Jan 23, 2013.
I am describing Server Side Validation in PHP using Regular Expressions and validation of data stored in the database.
Creating Various Types of Tables in SQL Server
Nov 20, 2012.
Learn about SQL Server tables like User, Temporary, Global; understand creation methods, differences between temporary and regular tables, storage locations, and utilization of table variables. Examples demonstrate creating and using these tables effectively.
Parsing Sentences and Building Text Statics in Visual Basic
Nov 09, 2012.
This article describes three approaches to parsing the sentences from a body of text.
Parsing Sentences and Building Text Statics in Visual Basic
Nov 09, 2012.
This article describes three approaches to parsing the sentences from a body of text.
Fading Scroller Using jQuery
Mar 02, 2012.
This jQuery will show you some simple effects that you can use to spice up your websites. It's real simple to use and implement.
How to check someone else's checked out code into CVS
Jul 26, 2009.
If you copied the source code you're working on, from another developer on your team and you you're trying to check it in, into CVS, and you can't, because CVS won't let you, this article is just the right solution to your problem.
How to Check if there is any Alphabet or Non Alphanumeric Character in a String
Jun 23, 2009.
This article gives you an idea about how to check if there is any alphabet or non alphanumeric character in a sttring just with the help of one metthod using regular expressions in C#.
Send Email Messages and Attachments Using C#
Aug 05, 2008.
This article describes an approach to sending email messages with or without attachments. The code required to send the message is contained within a reusable class. In addition to sending messages and messages with attachments, the class also validates the recipient email addresses using regular expression validation.
Parsing Sentences and Building Text Statics in C#
Feb 15, 2008.
This article describes three approaches for parsing the sentences from a body of text. This demonstration application also describes an approach to generating sentence count, word count, and character count statistics on a body of text.
Enable User to Validate Canada and US Zip Code
Sep 04, 2007.
This article will help user to validate Canada and US zip code.
Error Provider in C#
Mar 09, 2007.
This article shall address the use of the error provider control in Win Forms application development. The error provider control is most useful in displaying errors associated with data entry tasks on a Windows form.
Security in ADO.NET
Jul 16, 2005.
This article gives a sound idea how to write secure code for ADO.NET . Data Access Layer (DAL) is a common and very curtail for your application. Its very important know some of the basic security points while writing ADO.NET program.
Windows Spell Checker using SpellCheck.NET Parser
Jun 26, 2002.
In this article, I put SpellCheck.net parser to the test with Windows Form Spell Checker application.
Tic Tac Toe
Jul 16, 2001.
TicTacToe is a demonstration of the AI game playing minimax algorithm. The game plays out every possible combination of moves from each position and consequently is unbeatable. This example uses .NET Beta 2 and was written using a text editor.