Revision history [back]

Path\booktitle.pdf

Path\booktitle

Path\booktitle.pdf

etc.


Then with a simple regular expression search you can select all your "PDF" lines with "Find all" and delete them, leaving you with just the lines you want (work from a copy of your text, of course). The regex is:

^.*pdf$ And this is how it looks: IF your text has a pattern like this (please clarify!): Path\booktitle.pdf Path\booktitle Path\booktitle.pdf etc.  Then with a simple regular expression search you can select all your "PDF" lines with "Find all" and delete them, leaving you with just the lines you want (work from a copy of your text, of course). The regex is: ^.*pdf$

And this is how it looks:

If your text is embedded in a longer paragraph, there is still likely to be a regex expression that will capture it, but we need more details before offering help with that. Please edit the question with more information.

Path\booktitle.pdf

Path\booktitle

Path\booktitle.pdf

etc.


Then with a simple regular expression search you can select all your "PDF" lines with "Find all" and delete copy them, leaving you with just the lines you want (work from to a copy of your text, of course). new file (or whatever). The regex is:

^.*pdf$ And this is how it looks: If your text is embedded in a longer paragraph, there is still likely to be a regex expression that will capture it, but we need more details before offering help with that. Please edit the question with more information. IF your text has a pattern like this (please clarify!): Path\booktitle.pdf Path\booktitle Path\booktitle.pdf etc.  Then with a simple regular expression search you can select all your "PDF" lines with "Find all" and copy delete them, leaving you with only those lines with the path to a new file (or whatever). the PDF. The regex is: ^.*pdf$^(?=.*?Path)(.(?!pdf))*$ And this is how it looks: If your text is embedded in a longer paragraph, there is still likely to be a regex expression that will capture it, but we need more details before offering help with that. Please edit the question with more information. IF your text has a pattern like this (please clarify!): Path\booktitle.pdf Path\booktitle Path\booktitle.pdf etc.  Then with a simple regular expression search you can select all your "PDF" "non-PDF" lines with "Find all" and delete them, leaving you with only those lines with the path to the PDF. The regex is: ^(?=.*?Path)(.(?!pdf))*$

And this is how it looks:

If your text is embedded in a longer paragraph, there is still likely to be a regex expression that will capture it, but we need more details before offering help with that. Please edit the question with more information.

Path\booktitle.pdf

Path\booktitle

Path\booktitle.pdf

etc.


Then with a simple regular expression search you can select all your "non-PDF" lines with "Find all" and delete them, leaving you with only those lines with the path to the PDF. The regex is:

^(?=.*?Path)(.(?!pdf))*$ N.b. !!! Pathin that regex statement is simply reflecting OP's "dummy text". It will need to be adjusted for "real world" use. See OP's comment to this answer, below. And this is how it looks: If your text is embedded in a longer paragraph, there is still likely to be a regex expression that will capture it, but we need more details before offering help with that. Please edit the question with more information. IF your text has a pattern like this (please clarify!): Path\booktitle.pdf Path\booktitle Path\booktitle.pdf etc.  Then with a simple regular expression search you can select all your "non-PDF" lines with "Find all" and delete them, leaving you with only those lines with the path to the PDF. The regex is: ^(?=.*?Path)(.(?!pdf))*$

N.b. !!!N.b.!!! "Path" in that regex statement is simply reflecting OP's "dummy text". text" used in my test file. It will need to be adjusted for "real world" use. See OP's comment to this answer, below.below. ]

And this is how it looks:

If your text is embedded in a longer paragraph, there is still likely to be a regex expression that will capture it, but we need more details before offering help with that. Please edit the question with more information.