I am writing a code which would produce a list of all possible combinations of a Regex.

For eg if my Regex is **[ABC]BD** i want all expressions possible for this combination like

**ABD**

BBD

CBD to be validated

This is very simple example. My actual regex would include special charcaters,

character classes,repetitions, backreferences, positive & negativeloookaround and all other nitty-gritty of regex.

I know it would not be easy task as for characters like * the list is endless, but is there

a way to limit it to some extent?

I am looking for some code suggestions, api's or any tool for this.

I do use expresso for regular expresssion.

any help will be greatly appreciated.

Abhinav Galodha

**View Complete Post**

## Test Run: Combinations and Permutations with F#

Understanding combinations and permutations is a fundamental skill in software testing. We show you how to work with combinations and permutations using code written in the new F# language.

James McCaffrey

MSDN Magazine May 2010