我想使用正则表达式从模式的两端删除破折号-L-07-TV-04-Clip-01-
。
-L-07-TV-04-Clip-01-
-I-have-to-realize-
-me-having-this-addiction-
-END-OF-CLIP-
-L-07-TV-04-Clip-02-
-I-have-to-realize-
-when-I-felt-anger-
-END-OF-CLIP-
-L-07-TV-04-Clip-03-
-I-have-to-realize-
-when-I-have-shamed-others-
-END-OF-CLIP-
-L-07-TV-04-Clip-04-
-I-have-to-realize-
-when-I-have-shamed-myself-
-END-OF-CLIP-
-L-07-TV-04-Clip-05-
-I-have-to-realize-
-I-need-to-accept-
-END-OF-CLIP-
预期格式为:
- 正则表达式之前 -L-07-TV-04-Clip-01-
- 正则表达式 L-07-TV-04-Clip-01 之后