1
我想從oracle sql中的字符串中刪除下面的非法字符列表。如果給定的字符串有一次或多次發生這些事件。如何從oracle中的字符串中刪除一個字符類sql
我需要用空格替換它們。
• Double quotes(「)
• Semi-colon (;)
• Plus sign (+)
• Square brackets ([ ])
• Backslash (\)
• Vertical Bar (|)
• Greater Than (>)
• Less Than (<)
我如何使用這個REGEXP_REPLACE?
我想使用類似
select REGEXP_REPLACE('<stack>>||\[]flow[]+"";' , [[:";\+\[\]\\|><:]],''')
from dual;
然而,不知道如何讓用戶自定義字符類。