RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
(\b)(\w+(\b|\n|\s)){3}
Description
This script attempts to return phrases from a string (Example above looks for {3} word phrases) Combine this with some .Net code, you can display most popular X word phrases in a string. -If anyone can help me count "Phrase and Phrase as 2 instances of Phrase please contact me
Matches
three blind mice | see how they run
Non-Matches
three blind | they run
Author Rating: Not yet rated. Dan Hall
Source
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: not working for me
Name: GummyBear
Date: 8/28/2010 7:49:04 PM
Comment:
[0]| [1]|Principals [2]| [3]| [4]|this [5]| [6]| [7]|calls [8]| [9]| [10]|job [11]| [12]| [13]|not [14]| [15]| [16]|poster [17]| [18]| [19]|services [20]| [21]| [22]|commercial [23]|


Title: not working for me
Name: GummyBear
Date: 8/28/2010 7:48:20 PM
Comment:
[0]| [1]|Principals [2]| [3]| [4]|this [5]| [6]| [7]|calls [8]| [9]| [10]|job [11]| [12]| [13]|not [14]| [15]| [16]|poster [17]| [18]| [19]|services [20]| [21]| [22]|commercial [23]|


Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials