Category Archives: RegEx

Regex: The simple approach

Regular Expressions (RegEx) can be quite complex to understand. For a simple start, I have made a "Regex for Dummies" guide, which you will find below: Simplifications In order to make it an easy start, I made 2 assumptions: As an input string, we just look at one line. Multi-line strings are excluded from this tutorial. A result can only be "True" or "False". "True" means the Regex matches the input string at least once. "False" means the Regex does not match the input string at all. Overview In Read more [...]

RegEx for BES Proxy URL Setting

Have you ever wondered what the default pattern matching string for the proxy URL settings in BES means? .*://.*(:\d*)?(/.*)*(\?.*)? Well, this is Java RegEx (Regular Expression) language. Find below some examples that help understand the RegEx: .       matches exactly one character .*      matches any number of characters (including 0), short for .{0,} .+      matches one or more characters, short for .{1,} .?      matches zero or one character, short for .{0,1} .{7}    Read more [...]