Toggle navigation
RegexPlanet
Testing
Go (beta)
Haskell (beta)
Java
JavaScript
.Net
Perl (beta)
PHP (beta)
PostgreSQL (beta)
Python
Ruby (beta)
Rust (beta)
Tcl (beta)
XRegExp (beta)
Previous version
Cookbook
Support
Regex docs.rs
Struct regex::Regex
Struct regex::RegexBuilder
Regular Expression Test Page
for Rust
Share:
Online testing with the Rust engine is still in beta.
Test Results
Expression to test
Regular expression:
Options:
Causes the fundamental atom of matching to be a single codepoint
Case insensitive matching
Changes the behavior of the ^ and $ anchor assertions
Causes the . to match any character, including newlines
Ignore whitespace and allow comments in the pattern
Changes the default greediness of quantifiers
CRLF mode is enabled, both \r (“carriage return” or CR for short) and \n (“line feed” or LF for short) are treated as line terminators.
Octal mode is enabled, \0 is treated as the null character
Replacement:
Input 1:
Input 2:
Input 3:
Input 4:
Input 5:
Cookbook:
View Recipe
×
Close
Desired Result
This is just an experiment and does not do anything yet!
Target pairs in the string: