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(?:a(?:[nst]|re|nd)?|b[ey]|f(?:or|rom)|i[nst]?|o[fnr]|t(?:o|hat|he|his)|w(?:as|h(?:at|en|ere|ich|o)|i(?:th|ll)))\b
Description
Removes "stop" or "delete" words that google removes from search strings. Ordinarily have no search significance. I used this to remove the words in my own web search application. Take out the ?: for grouping. I've tested this a bit, yet this is my 1st regex that I've ever written. It's working fine for me.
Matches
by | when | or
Non-Matches
bye | craptastic | nor
Author Rating: The rating for this expression. Willie Tilton
Source Willie Tilton
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: List of words
Name: Willie Tilton
Date: 1/13/2005 5:07:52 PM
Comment:
This is a link to a page that has the list of words that this is excluding plus more information about google (not related to word list).


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