Home > Back-end >  Keep the variable regular expression how to replace?
Keep the variable regular expression how to replace?

Time:11-17

Is to put & lt; Span>
Become & lt;/span>
Because the previous chapter X (X is 1, 2, 3... Like this) the whole to match, so want to search and replace, along with all but "chapter X" to the same (i.e., keep the same X), could you tell me how to write this regular expression?

CodePudding user response:

The most simple direct chapter & lt; Span>

Full word matching [\ u4e00 - \ u9fa5] [0-9] + [\ u4e00 - \ u9fa5]

CodePudding user response:

CodePudding user response:

Study of
  • Related