Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我得到以下正则表达式:
=([^"]*)
基本上我想在 = 和 " 之间提取一个值(例如:"City=Paris",输出 "Paris")。但由于某种原因,这个表达式在 PowerCenter 中不起作用。
你知道如何实现它吗?
谢谢托马斯
你可以试试这个
REG_EXTRACT('"City=Paris"','(.*\w+=)(\w+)(".*)',2)
这基本上将字符串分成三组字符并返回第二组。