I have a huge list of lines and need to keep only the lines that have a trailing forwardslash /
Also, what would be the code to remove all lines that contain a trailing forward slash?
Example:
abc/abc/abc/ ***has trailing forwardslash
abc/abc/abc/filename.txt ***does not have trailing forwardslash
Also, what would be the code to remove all lines that contain a trailing forward slash?
Example:
abc/abc/abc/ ***has trailing forwardslash
abc/abc/abc/filename.txt ***does not have trailing forwardslash