Help - Regular Expression Assistant Version 1.0
TODO: Complete.
General
This programm helps you to build and test regular expressions.
-
It lists all possible flags and regular-expression constructs
that are available in Java (since version 1,4).
-
The flags and constructs can be inserted in the regular expression
you are creating.
-
It serves as a kind of tutorial. Every contruct has a description.
Some of the descriptions explain the construct or similar constucts in detail.
-
You can test your regular expressions in a textfield.
Typical usage
1. Give a text where you want to find something.
(Where you test your search expressions.)
-
Either type something in the first (upper) textfield, or
-
Coyy somthing into this textfield, or
-
Open a file.
2. Create the search expression that should find someting.
1. You can type and test a search expression directly in the textfield
"Regular Expression", or
2. You can create and test parts of the
expression in the textfield "Part of regular Expression". After this
you can insert it into the search expression above.
-
Create a first part of a regular expression.
Select a regular-expression construct in the tree and press "Insert"
Example: "X{n}"
-
Modify the contruct.
Example: "l{2}" (It finds "ll".)
-
Press "Test". This does a test search. Press "F3" or "Find Again".
-
Press "Insert" next to the textfield "Regular Expression".
-
Press "Clear" next to the textfield "Part of regular Expression".
-
Create a second part of a regular expression analogous to the
first expression and insert into "Regular Expression".
3. Test your regular expression.
-
Press "Find" or "CTRL + F" to search the text in the textfield above.