replace a column using regex in ms access 2010

前端 未结 1 1068
既然无缘
既然无缘 2021-01-22 23:03

There\'s a table named sample including only one column, body (type: text) in ms access 2010:

John12
1条回答
  •  失恋的感觉
    2021-01-23 00:04

    Add this to the function:

    regEx.Global = True
    

    Then use "<[^>]*>" as the pattern.

    Here's what I get in the Immediate window:

    body = "John12"
    ? Replace_Regex(body, "<[^>]*>", "")
    John12
    

    0 讨论(0)
提交回复
热议问题