How do i find and extract links from multiple files?

Tool for Search and Replace across multiple files.
User avatar
superman1231

How do i find and extract links from multiple files?

Post by superman1231 »

Hello i have thousands of text files that contain a html somewhere in them that i would like to extract and make a list of

for example

example.com/game/gamefiles/459684390.swf

the directories of the links i want stay the same it just the end 3458934.swf that changes on each file?

how can i collect all these diffrent links?

thank you
User avatar
Fool4UAnyway

Re: How do i find and extract links from multiple files?

Post by Fool4UAnyway »

Specify what is exact and describe what is variable.

Find:
example\.com\/game\/gamefiles\/\d+\.swf

\d means "any digit" (0 to 9)
+ means "any consecutive string of at least one character"

so, \d+ means any integer value (any number)
User avatar
superman1231

Re: How do i find and extract links from multiple files?

Post by superman1231 »

thank you for your answer :D
Post Reply