Skip to Content
0
Dec 10, 2008 at 07:58 AM

Syntax error for using Regular Expression

199 Views

HI all,

I tried to use Regular expresion to convert my string

my sample code is like this:

REPLACE ALL OCCURRENCES OF REGEX '\w*' IN INTAB-SCITY WITH '$1_$2'.

REPLACE ALL OCCURRENCES OF REGEX '\w*' IN INTAB-DCITY WITH '$1_$2'.

REPLACE ALL OCCURRENCES OF REGEX '\w*' IN INTAB-BCITY WITH '$1_$2'.

While activating, I got this syntax error:

The word REGEX is reserved

What happen? Did I got a old ECC version? Or something else got wrong??

Any help would be appreciated.

Edited by: Chih-Chieh Chan on Dec 10, 2008 8:58 AM