For example, given a pattern for matching email, I should get an array of strings that can be matched by the same regex pattern. Another example:
acca adca acda adda bccb bdcb bcdb bddb
I would like to use this library to generate dummy data for given pattern that can be used for testing my web app.
I found this website that has implemented it: https://regldg.com/tryit.php, but it is a binary executable. I'm looking for a library for PHP, JS, etc.