RegXing
RegXing is a tool that takes regular expressions as input and returns strings matching them!
Installation
You can install RegXing using
gem install regxing
, or alternatively, you can add to your project's Gemfile: gem "regxing", "~> 0.0.1"
Usage
generator = RegXing::Generator.new(/\d{3}-\d{2}-\d{4}/)
generator.generate!
\# => 891-27-2800