replace a column using regex in ms access 2010

前端 未结 1 1070
既然无缘
既然无缘 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 = "<name>John</name><age>12</age>"
    ? Replace_Regex(body, "<[^>]*>", "")
    John12
    
    0 讨论(0)
提交回复
热议问题