I think you are missing a ]

REReplace(ThisTag.GeneratedContent, "\[[^\]]*\]", "", "All")

Or maybe even "\[[^]]*\]"

On cfmx, you could use non-greedy matches: "\[.*?\]"

Pascal

> -----Original Message-----
> From: Dirk De Bock - Listclient [mailto:[EMAIL PROTECTED]
> Sent: 14 September 2004 19:14
> To: CF-Talk
> Subject: [Spam?] Re: Regex help
>
> This is working ok in CF5 but apparently not in CFMX
>
> Malformed regular _expression_ "\[[^\]*\]".
> Reason: Unmatched [] in _expression_..
>
> REReplace(ThisTag.GeneratedContent, "\[[^\]*\]", "", "All")
>
> it's supposed to strip all [] with everyting inbetween the brackets
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to