-2
我有以下字符串。我想用正則表達式來提取它的一部分。字符串的正則表達式不起作用
TW - 5657980 Due Date updated : to <strong>2017-08-13 10:21:00</strong> by <strong>System</strong>
TW - 5657980 Priority updated from <strong> Medium</strong> to <strong>Low</strong> by <strong>System</strong>
TW - 5657980 Material added: <strong>1000 : Cash in Bank - Operating (Old)/ QTY:2</strong> by <strong>System</strong>#9243
TW - 5657980 Labor added <strong>Kelsey Franks/14:00 hours </strong> by <strong>System</strong>#65197
Expected result
---------------
Due date updated
Priority updated
material added
labor added
我試過下面的正則表達式。
[\s](Due Date|Priority|Material|Labor)\w+
但它不起作用。
讓我試試吧。謝謝。 –