Subject: regular expression problem
Posted By: muki Post Date: 1/10/2006 9:53:11 PM
i have strings that has special characters included in the regular expressions. i have to escape this characters so i could use the 'matches' method. can anyone tell me how to do it? or just give a reference so i could also learn it. thanks.

Reply By: muki Reply Date: 1/10/2006 11:06:08 PM
hey guys, i already found a soulution: escape '(' and ')'
replace(text(),[\(,\)],\\$0)
but it also escapes the comma (',' --> \,)
why does it happen? thanks.

Reply By: muki Reply Date: 1/11/2006 5:04:24 AM
Now i really got it, because the comma is included in the square bracket. thanks anyway..


Go to topic 38575

Return to index page 398
Return to index page 397
Return to index page 396
Return to index page 395
Return to index page 394
Return to index page 393
Return to index page 392
Return to index page 391
Return to index page 390
Return to index page 389