Monday, October 24, 2016

Hot Linked Questions

How do I generate all possible numbers from this regular expression? [duplicate]



I want to get a list of all possible values for a regular expression.

Input :

2W
9WW
7W0W3
where W can be any digit from 0 to 9. i.e. W = [0-9]


Output:

20,21,22,....29
900,901,...910,911,...999
...






No comments:

Post a Comment