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=""> >
>
> I've got the following regex ,"\[GT:([a-zA-Z0-9 \'\\/]*)\]", but the problem
> is that I really need to check for any character between [GT: and ].
>
>
> I know it should be something like "\[GT:(.*)\]" but I cant figure out how
> to enter in the exception for ]
>
>
> TIA,
> Duane________________________________
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to