This is a follow up question to this one:
REF: ID: 27285438
In my text file, I have line which starts with #. In the previous code we used to ignore all the line that starts with #. But now, I want to capture a line within the lines that starts with #.
Here is the line I would like to capture:
# Sandbox location : /sandbox/tolgar/something1/somerthing2/something3/
The part that I want to capture is tolgar. and I want to assign it to a variable and return this variable as the others.
Note: something in this line can be as many as we want. But "sandbox location" is the keyword.
And spaces can be more or less. So we need to ignore them.