So, you’re new to ReX-T. Thanks for using our software! Let’s get you started in no time.
The main window has two big text fields: One called „Source Text“, and the other one called „Search Pattern“.
Click into the latter one, labelled „Search Pattern“, remove any content (if there is any), and enter the following regular expression:
\b([A-Z])(\w*)\b
Make sure that you enter it exactly as shown here. You can also copy it from here and paste it into the Search Pattern field.
Enter the following text into the Source Text field:
Please, Sir, is this New Zealand or Australia?
Make sure that all options – especially „Case Insensitive“ - are switched off. The click the „Search“ button.
In the result table at the bottom of the window you should see the following results:
The regular expression that we have used here matches all words that begin with an uppercase letter. So the result shows all parts of the source text that match this pattern.
Now click on the result line that says „Zealand“. When you do this, it will highlight the found passage in the source text.
When you click on the little disclosure triangle to the left of the word „Zealand“, you see this:
These are the submatches, caused by the capturing groups in the pattern (basically, anything in parentheses.)
This is the end of our little tutorial. You may want to also read: