1. Implement online custom regular expressions and convert them into codes in various languages
2. Online generation of custom regular expression code: regular expression generation Javascript script, regular expression PHP code, regular expression generation go code
Regular expressions generate Java code, regular expressions generate rb code, regular expressions generate Python code, regular expressions generate C# code online
. - All characters except newline characters.
^ - The beginning of the string.
$ - End of string.
\d,\w,\s - Matches numbers, characters, and spaces.
\D,\W,\S - Matches non-numbers, non-characters, and non-spaces.
[abc] - Matches one of the letters a, b, or c.
[a-z] - Matches a letter from a to z.
[^abc] - Matches any letter except a, b, or c.
aa|bb - Matches aa or bb.
? - 0 or 1 matches.
* - Matched 0 or more times.
+ - Match 1 or more times.
{n} - Match n times.
{n,} - Match n or more times.
{m,n} - At least m times and at most n matches.
(expr) - Capture expr subpattern, use it with 1.
(?:expr) - Ignore captured subpatterns.
(?=expr) - Forward lookahead mode expr.
(?!expr) - Negative lookahead mode expr.
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3