Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Syntax error for using Regular Expression

JayChan
Active Participant
0 Kudos
820

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Kudos
447

It works in ECC 6.0.

2 REPLIES 2
Read only

Former Member
0 Kudos
448

It works in ECC 6.0.

Read only

0 Kudos
447

My ECC version is 5.0

does it make some difference?