JavaScript Regular Expression Strings Generation

I think this can be done by creating strings using brute force, and then try to match them with the provided regular expression and print if they match.

But is there a better way to do this?

Regex is used to check if a string matches a pattern. I know about it. I thought it would be interesting to do so.

+3
source share
1 answer

If you use JavaScript, Randexp generates random strings matching the given regular expression.

Browser Releases

+6
source

All Articles