All Questions
5 questions
0
votes
1
answer
445
views
Regex - Search for valid urls inside archive
I am trying to build a regex so that I look inside a possible URL file in the formats
www.url.X
http://url.x
https://url.x
ftp://url
I was able to search only with http in a string, does anyone have ...
4
votes
2
answers
467
views
Search For Three Consecutive Words
There are duplicates in my booklist (txt file) like the following -
The Ideal Team Player
The Ideal Team Player: How to Recognize and Cultivate The Three Essential Virtues
Ideal Team Player: ...
5
votes
2
answers
5k
views
Extract Sub-Directory Path from Partially Known Directory
Lets say I've got the following directory structure:
base/
|
+-- app
| |
| +-- main
| |
| +-- sub
| |
| +-- first
| | |
| | +-- tib1.ear
| ...
2
votes
2
answers
1k
views
How to search many files with regular expression and output matches to lines in a new file?
I have 1000's of source files and I would like to find all text that matches a regular expression and then output each match on its own line in a resulting text file.
For instance;
// a.cs
string ...
2
votes
3
answers
2k
views
How to cut the output to only gather the filename and get-parameter?
I have multiple files with multiple links that are formatted like this:
<a href="http://example.com/fnord.layername.html?parameter=FOO-_-BAR-_-FNORD" class="poit">
<img ... />
</a&...