![]() |
random string not matching reg ex
Hello there,
i am trying to write an algorithm that generates a random string NOT matching a given regular expression, does anyone have an idea on the correct ways of going about this? |
Re: random string not matching reg ex
you can put the compliment [or the not] for the whole expression and then generate a str with that
so that regex would be searching for the quite opposite of it :) |
| All times are GMT +5.5. The time now is 11:46. |