Re: exclude with regular expression
- From: Gunnar Hjalmarsson <noreply@xxxxxxxxx>
- Date: Wed, 14 May 2008 21:26:56 +0200
fred78980@xxxxxxxxx wrote:
What is the regular expression that sees
foobar,barfoo,barbarfoo,foobabarfoo etc. but not words between {}
foobar {worda, wordb, wordc} barfoo {worda, wordb, wordc} barbarfoo
{worda, wordb, wordc} foobarbarfoo
/\b\w*(?:foo|bar)\w*\b/
Negation is not suited
Says who?
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
.
- References:
- exclude with regular expression
- From: fred78980
- exclude with regular expression
- Prev by Date: exclude with regular expression
- Next by Date: Re: exclude with regular expression
- Previous by thread: exclude with regular expression
- Next by thread: Re: exclude with regular expression
- Index(es):
Relevant Pages
|
|