I am programming in Python 3.4. I am reading lines in different files and when I get to the line containing a specific string I want extract only the path string from that line. Example:
line in file is:
TEST_CASE_CHECK = require("TestCases/AOL/TU_Extract_Log_Details")
I search for: require("TestCases
I want extract only: TestCases/AOL/TU_Extract_Log_Details
I know this can be done with regex but I could not figure out how to do it.