Hi all! I would like to use REGEXP_SUBSTR to strin...
# suitescript
m
Hi all! I would like to use REGEXP_SUBSTR to string in {memomain}. Can someone help and tell me how i would get:
Example company Plc
From String
Migration invoice. Original invoice id: 12345 for customer: Example company Plc
I think I need to find either the second
:
or then
customer:
and select everything after that. Thank you!
b
probably want to ask in #C2A1ZEMF0. Unless you want to learn about how negative lookahead doesnt work in sql, i suggest using INSTR and/or SUBSTR
alternatively you probably want REGEXP_REPLACE if you really want a regular expression in there
m
Ok, thanks! And I just realized I didn't mentioned that I mean Saved Search where I would need this.