Generate Strings from Regular Expressions
cross-browser testing tools
World's simplest online reverse regular expression generator for web developers and programmers. Just enter your regexp in the field below, press the Generate Text button, and you'll get a random text that matches your regexp. Press a button – invert a regexp. No ads, nonsense, or garbage.
51K
Announcement: We just launched Online Number Tools – a collection of browser-based number-crunching utilities. Check it out!
Want to extract regex matches from text?
Use the regex matches tool!
Using an Inverse Regular Expression Generator in Cross-browser Testing
An inverse regex data generator can be useful if you're doing cross-browser testing. Usually, you write a regex to match the given data but this program reverses the problem and creates data for you that matches your regex. For example, if you have written a regular expression that matches emails and you need to generate test cases for it, then you can generate valid email addresses with this utility. You give it your email regular expression, and it will randomly find strings that match this regular expression. Similarly, you can use it to generate test cases for matching phone numbers, zip codes, signatures, or web addresses.
Looking for more web developer tools? Try these!
Text Columns to Rows Converter
Text Rows to Columns Converter
Text to HTML Entities Converter
UNIX time to UTC time Converter
UTC time to UNIX time Converter
Seconds to Human Readable Time
Binary Bitwise NAND Calculator
Binary Bitwise XNOR Calculator
Binary Bit Rotator to the Left
Binary Bit Rotator to the Right
Text Character Rotator to the Left
Text Character Rotator to the Right
Number of Letters in Text Counter
Number of Words in Text Counter
Number of Lines in Text Counter
Number of Paragraphs in Text Counter
Decimal to Scientific Converter
Scientific to Decimal Converter
Celsius to Fahrenheit Converter
Pro tip: You can use ?input=text query argument to pass text to tools.