I want to remove the dash from both ends of a pattern -L-07-TV-04-Clip-01-
using Regex.
-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-
The expected formatting is:
- Before Regex -L-07-TV-04-Clip-01-
- After Regex L-07-TV-04-Clip-01