I have lines like these
abye/>abye
abys/>abys
aced/>aced
aces/>aces
I want it like this
abye
abys
aced
aces
Is it possible? If it is then please someone show me the way.
The below regex would remove all the characters from start upto the />
Regex:
^.*\/>
REplacement string:
Empty string
OR
The below regex would remove all the characters from />
upto the end.
Regex:
\/>.*$
Replacement string:
Empty string
Pattern Explanation:
\/>
matches the literal />
symbols..*
matches any character but not of new line character.$
End of the line.By replacing all the matched characters with an empty string, you get only the part before />