Re: regular expression problem
- From: Karel de Vos <ng@xxxxxx>
- Date: Wed, 24 May 2006 16:55:00 +0200
condor wrote:
I want to select a text between square brackets. As it may contain
accents and punctuation I try to use the negation:
"\[([^\]])\]"
However, this does not work and the problem is with the closing square
bracket ("]").
My questions are:
- Is "\]" some reserved sequence with a special meaning.
- if so, how can I work around that and still get functionality I want
I think you want "\[([^\]]*?)\]"
.
- Follow-Ups:
- Re: regular expression problem
- From: condor
- Re: regular expression problem
- References:
- regular expression problem
- From: condor
- regular expression problem
- Prev by Date: Re: regular expression problem
- Next by Date: Re: regular expression problem
- Previous by thread: Re: regular expression problem
- Next by thread: Re: regular expression problem
- Index(es):
Relevant Pages
|