REGEXP_SUBSTR(String, Regular expression, Starting position, Occurrence number, Mode)
Extracts a substring matching the Regular expression from the String.
String (text)
The string you want to process
Regular expression (text)
The regular expression you write
Starting position (numeric)
The position where the matching starts. It is optional and defaults to 1.
Mode (text)
The matching mode. You can use one or multiple values listed below that represent different matching modes. If Mode contains contradictory values, the function uses the last value.
c: case-sensitive matching
i: case-insensitive matching
m: multi-line matching
n: The dot (.) can match line endings.
u: Only UNIX line endings are matched.
String
For example, add a New Calculation Column operator in the Data Transformation node and input the formula REGEXP_SUBSTR ('aaa123fafaf' ,'[0-9]+'). The function returns 123 in the new column, as shown in the following figure.
滑鼠選中內容,快速回饋問題
滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。
不再提示
10s後關閉
Submitted successfully
Network busy