EN VI
Posts (0)
Questions (22)
2024-03-14 01:30:04
You may use this regex to extract 2 capture group as desired: ^([A-Z_]+):\s*\(([][A-Z0-9_(),:]+)\) RegEx Demo RegEx Details: ^: ([A-Z_]+): Match 1+ of uppercase letters or _ in capture group #1 :\s*...
Tags: c# regex .net-7.0
2024-03-14 10:00:04
Use the "non-greedy" (a.k.a. "minimal") version of the star operator, which is *?. Reference: https://docs.python.org/3/library/re.html#regular-expression-syntax Hence, change your pattern to: r'{foo}...
Tags: python regex string
2024-03-14 11:30:04
You could just add an optional comma on the end of your regex and then make that a repeating group: pat = r'((?:af|il|ap|ca|eu|me|sa|us|cn|us-gov|us-iso|us-isob)-(?:central|north(?:east|west)?|south(?...
2024-03-14 19:30:04
If the string you want ALWAYS starts with 437 and has a length of 22 you can use the following regex statement: 437................... I think you can select the result of this in postgres by: SELEC...
Tags: regex postgresql
2024-03-15 18:00:06
As the error says, it is lacking the token, so you visit it with: /api/verify_email/ddfddjrf....fddkfjdjh/ not as part of the querystring.
Tags: django regex url-pattern
2024-03-15 20:30:05
Using regex101 i came up with this [a-zA-Z]{1,5}[xX] I made an edit to also get Uppercase letters
Tags: regex
2024-03-16 00:30:10
Use the deny method, and the following Regex - [|]. FilteringTextInputFormatter.deny(RegExp(r'[|]'))
Tags: regex Flutter dart
2024-03-16 11:00:04
The function re.sub() has the following signature: Signature: re.sub(pattern, repl, string, count=0, flags=0) If you give re.I as the fourth argument, it will interpret it as the count argument. When...
Tags: python regex
2024-03-16 16:00:05
Your original regex seems to work fine if you make the capturing group lazy with a ?: ^\s*(.*?)\s*$ See here: https://regex101.com/r/bTRoG9/2
Tags: regex rust
2024-03-16 16:30:04
The issue is the priority of the | operator, what you wrote means (\d+ oranges) OR (bananas) OR (pencils) You need parenthesis around the fruits \d+ (?:oranges|bananas|pencils)
Tags: python regex

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login