No matches yet. Enter a RegEx and some text to see results live!
Generated Code Snippets
// Your JavaScript RegEx will appear here
# Your Python RegEx will appear here
// Your Java RegEx will appear here
// C#\n// Your C# RegEx will appear here
# Ruby\n# Your Ruby RegEx will appear here
// Go\n// Your Go RegEx will appear here
// Swift\n// Your Swift RegEx will appear here
// Kotlin\n// Your Kotlin RegEx will appear here
// Rust\nuse regex::Regex;\nlet re = Regex::new(r"${escapedPattern}").unwrap();
# PowerShell\n$pattern = '${escapedPattern}'
# Perl\nmy pattern \= qr/{escapedPattern}/;
// Scala\nval pattern = "\{escapedPattern\}"\.r
\-\- Lua\\nlocal pattern \= '{escapedPattern}'
# R\npattern <- '\{escapedPattern\}'
// Dart\\nfinal regex \= RegExp\(r'{escapedPattern}');
# Elixir\npattern = ~r"\{escapedPattern\}"
% Erlang\\nPattern \= re\:compile\("{escapedPattern}").
-- Haskell\nimport Text.Regex.TDFA ((=~))\nlet pattern = "\{escapedPattern\}"
// Objective\-C\\nNSRegularExpression \*regex \= \[NSRegularExpression regularExpressionWithPattern\:@"{escapedPattern}" options:0 error:nil];