I am struggling with following issue:

How to delete style code before id codes x.x.xx.. and the }s in the end?

Examples below:

{\fArial|b1|i0|c0|p34;A.B.11} {\fArial|b1|i0|c0|p34;A.C.1}

Try this expression:

regexp_substr( "your_field_name" ,'\\;(.*)\\}' )

  • Thnaks but I´m now getting following message: Eval Error: Invalid regular expression '?(.*)?': bad repetition syntax – user29420 Apr 22 '14 at 10:22
  • Sorry - that should have been: regexp_substr( "your_field_name" ,'\\;(.*)\\}' ) The slashes need to be repeated. – ndawson Apr 22 '14 at 10:28
  • Thansk a lot! Worked nicely – user29420 Apr 22 '14 at 10:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.