Simply Regex User Guide

Introduction

Simply Regex is java API library which provides easy way to build regex.

Dependency

Please refer Release page for getting latest release & dependency information.

Starting to build regex

All the methods that are required to start building regex are available in class com.itsallbinary.simplyregex.SimpleRegex.

Static Method Description
regex() This is where regex building starts. This will be the first method to start building any regex.
charThatIs() While building regex,, you might need to build intermediate character definition. You can start building character definition using this method. More on this in upcoming sections.
groupHaving() While building regex,, you might need to build intermediate group definition. You can start building group definition using this method. More on this in upcoming sections.

After regex() you will have to decide if the regex you want to build is meant to match text anywhere in input text or to match from starting of input text itself

Method Description
anywhereInText() Regex built using this method will match built pattern anywhere into the input text.
startingWith() Regex built using this method will only match built pattern if input text starts with the built pattern.