Regex to match not start of line

前端 未结 6 633
陌清茗
陌清茗 2021-02-02 16:08

I have the following XML tag


I want to replace the < in the text with <

6条回答
  •  清歌不尽
    2021-02-02 17:10

    Most likely you can do this using lookbehind:

    /(?

    see: http://www.regular-expressions.info/lookaround.html

提交回复
热议问题