CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   ASP.NET (http://www.codingforums.com/forumdisplay.php?f=40)
-   -   Regular Expressions (http://www.codingforums.com/showthread.php?t=286198)

Zaid 01-21-2013 02:48 PM

Regular Expressions
 
Can anyone explain what is meant by the "anchor" \b.
The book says it matches between boundaries. Explain with an Example.
:p

alykins 01-21-2013 05:57 PM

here is a good article on it. Using their example
Quote:

\bis\b

This island is beautiful.
would yeild one match on the word 'is', ignoreing the 'is' in both 'this' and 'island'


All times are GMT +1. The time now is 07:55 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.