Search for a tool
Regular Expression Analyzer

Tool to analyze a regular expression and understand its interpretation mechanism and extracting internal properties through the analyzer.

Results

Regular Expression Analyzer -

Tag(s) : Data Processing

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our community Discord for help requests!


Thanks to your feedback and relevant comments, dCode has developped the best 'Regular Expression Analyzer' tool, so feel free to write! Thank you !

Regular Expression Analyzer

Regular Expression Analyzer



Calculate matching lengths

Tool to analyze a regular expression and understand its interpretation mechanism and extracting internal properties through the analyzer.

Answers to Questions

How to analyze a regular expression?

The software of regex analysis decomposes a regular expression in order to find each component (characters, pattern, matches) and describe its meaning. The analysis is based on a cut of the pattern matching expression.

Example: /\d{2,5}/ correspond to \d (digit) {2,5} between 2 and 5 times.

How to calculate the length of a string catchable by regex?

The script gets minimum and maximum sizes of each element of the expression and calculates the total.

Example: (ab|cde){2,3} has for minimum length 4 (case abab) and maximum 9 (case cdecdecde)

Example: a+ has for minimal length 1 (case a) and maximal infinite (case aaaaa...a)

How to test a regexp?

Currently dCode can do regular expression searches but no real test feature. To test a regular expression, dCode's advice is to use the site Regex101 here (link) with a Javascript inerface that allow seeing instantly (by underlined characters) detected items or captured in the regular expression.

Source code

dCode retains ownership of the online 'Regular Expression Analyzer' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (PHP, Java, C#, Python, Javascript, Matlab, etc.) no data, script or API access will be for free, same for Regular Expression Analyzer download for offline use on PC, tablet, iPhone or Android !

Need Help ?

Please, check our community Discord for help requests!

Questions / Comments

Thanks to your feedback and relevant comments, dCode has developped the best 'Regular Expression Analyzer' tool, so feel free to write! Thank you !


Source : https://www.dcode.fr/regular-expression-analyser
© 2020 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.
Feedback