Catalog · How the catalog works
TestRegularExpressions
This is an example on how to use regular expressions
- ★ 8 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
Use of Regular Expressions
This is an example on how to use regular expressions.
For simplicity's sake, I'm only demonstrating the Exec/ExecNext functionality. There's more to it than just these two, like the Substitute and Split functionalities.
I've also decided to use the RegExpr package that is provided in the packages that come by default with Free Pascal's compiler installation.
You can have a better picture of other options in this entry of the Wiki: Regular Expression Packages
You can find some documentation about TRegExpr here: TRegExpr Class.

