Lost Password?

Go Back   CodeCall Programming Forum > Software Development > C# Programming

Unregistered, Check out the Coder Battles in the Announcement and Game forums.

C# Programming C# (pronounced C-sharp) is a new object oriented language from Microsoft and is derived from C and C++. It also borrows a lot of concepts from Java too including garbage collection.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-29-2008, 09:50 AM
lartzi lartzi is offline
Newbie
 
Join Date: Jun 2008
Posts: 4
Credits: 0
Rep Power: 0
lartzi is on a distinguished road
Default Count words using Regular Expression in c#

I wrote a post that explain how to count words in a string when you need to ignore the following:

1. Html Code

2. Dividers

3. Extra spaces + new lines

The code is in C# and well do***ented. Due to the fact that this code is using regular expression it can be used in diffrent languages as well

Link to the post:
Lior.Net » Blog Archive » Count words Using Regular Expression
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 06-29-2008, 09:56 AM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: London, England
Posts: 7,432
Last Blog:
Web slideshow in JavaS...
Credits: 1,322
Rep Power: 61
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: Count words using Regular Expression in c#

Nice. I was going to suggest writing a Tutorial about it, but Jordan doesn't like people posting tutorials that are available elsewhere on the net.
__________________
[TRUTH] TcM is the best moderator ever! [/TRUTH]
"Valid XHTML is like sex - everybody claims to have the same goal, but everybody has their own tricks and results vary wildly."
Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
count words, extra spaces



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help forming regular expression rajasekharan General Programming 0 05-26-2008 02:26 AM
Java:Tutorial - Tic-Tac-Toe John Java Tutorials 25 02-27-2008 06:41 PM
Dictonary Program programmer 101 Java Help 9 07-01-2007 01:39 PM
Getting Row Count Lop Managed C++ 2 01-10-2007 08:17 AM
c# regular expression moonrise C# Programming 3 05-22-2006 04:54 PM


All times are GMT -5. The time now is 02:29 AM.

Contest Stats

Xav ........ 1322.18
MeTh0Dz|Reb0rn ........ 1053.7
morefood2001 ........ 879.43
John ........ 877.37
marwex89 ........ 869.98
WingedPanther ........ 830.24
Brandon W ........ 735.07
chili5 ........ 309.39
Steve.L ........ 239.84
dcs ........ 216.02

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 82%

Ads