In this tutorial I like to show you the main functionalities of RegExTractor. RegExTractor is build for complex searches. Keep in mind not to use RegExTractor if there is an easier way to accomplish your task!
You may download the latest release of RegExTractor on GitHub.
For this example we have a file folder containing some application log files:
These files look like this one here and we're interested in how often the application has been started.
Now we open RegExTractor and choose the file folder which contains our example files. Decide if you like to search recursive in sub folders or if you like to search the top folder only. You may also apply a filter for files, if maybe just files with the extension *.log are in scope.
Next we choose the search term file we've created some moments ago. This search terms should apply to our search. Now we select a path and a file name for the xml file which RegExTractor should create as search result. Finally - we start the search! After search has finished we have a look at the xml file RegExTractor created:
In part 2 I will show a more complex use case using regular expressions and match groups to extract the start dates and start times of our example application.
You may download the latest release of RegExTractor on GitHub.
For this example we have a file folder containing some application log files:
These files look like this one here and we're interested in how often the application has been started.
Create a search term file
A search term file is a simple text file and as the name implies this file will contain all our search terms. In our simple example we will search for a single text term: "Application Started".Search with RegExTractor
Now we open RegExTractor and choose the file folder which contains our example files. Decide if you like to search recursive in sub folders or if you like to search the top folder only. You may also apply a filter for files, if maybe just files with the extension *.log are in scope.
Next we choose the search term file we've created some moments ago. This search terms should apply to our search. Now we select a path and a file name for the xml file which RegExTractor should create as search result. Finally - we start the search! After search has finished we have a look at the xml file RegExTractor created:
In part 2 I will show a more complex use case using regular expressions and match groups to extract the start dates and start times of our example application.