I suspect that he wants to replace all glossary terms, not just "moons":

REReplace(string,'\[GT:([^]]+)\]','<a
href="">
Pascal

> -----Original Message-----
> From: Andy Jarrett [mailto:[EMAIL PROTECTED]
> Sent: 24 September 2004 17:28
> To: CF-Talk
> Subject: [Spam?] Re: Regex Question
>
> WIthout sounding silly. Isn't this more of a simple replace rather
> than using RegEx?
>
> replace(string, '[GT:moons]', '<a
> href=""> > ', 'all')
>
> Just a thought
>
> Andy
>
>
> On Fri, 24 Sep 2004 10:18:53 -0400, Duane Boudreau
<[EMAIL PROTECTED]>
> wrote:
> > Hi All,
> >
> >
> > Got a regex question.
> >
> >
> > Sample content block: There are 31 [GT:moons] that surround Saturn
> >
> >
> > I need to replace [GT:moons] with <a
> > href=""> > >
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to