How to match for an empty string using Delphi (10.3) TRegEx.IsMatch? The following cases return false where I would expect to return true: As I've ...
How to match for an empty string using Delphi (10.3) TRegEx.IsMatch? The following cases return false where I would expect to return true: As I've ...
I need to exclude several namespaces from my local unit tests execution. This is because I don't have some services in my local environment that are a ...
I am trying to fix a problematic polkit rule that checks to see if the process that is asking for permission is running with specific group ID. The w ...
I'm tryin to extract multiple IPv4 addresses from a single field that are separated by "," Example string: "badips":["123.456.789.12","123.456.789.13 ...
I'm trying to fix up some video transcripts on macOS, and I always have trouble matching "full words" (i.e. never within another word, like "raspy" fo ...
I am trying to create a regex in pcre, that is going to salinize URL with multiple slashes like the following: https://www.domin.com/test1/////test2/ ...
Using regexp I need to "filter" some text but only if part of line matches pattern. Sample input is (each line is separate record): In case "OK: A ...
Out of the line Your name is: "Foo Bar" I want to select Foo Bar in regex only. I have tried non-capturing groups without success : (?:^Your name is: ...
I create a simple script for search words inside a txt file. The TXT file have > 7000 lines, in total ~ 6 MB In php 5.6, 7.0 or 7.1 the script ...
I have a long string with lots of HTTP URLs separated by a comma, and I'm trying to create a regular expression to find and replace spaces with %20, b ...
Always been struggeling with RegEx, help is much appreciated! I want to match parts of a URL with Regex but cannot get my head around it. Domains are ...
Reading a book about bash and it was introducing regular expressions(I'm pretty new to them) with an example: There wasn't really a breakdown provi ...
I need PCRE2 regex to find all occurences of "no" as well as first and last occurences of "yes". Expected results: I try this regex but it don't w ...
Due to a Makefile mistake, I have some fake files in my git repo... $ ls =0.1.1 =4.8.0 LICENSE =0.5.3 ...
I am trying to group a string expression into three parts using Regex . It works for most cases and getting stuck for one case . Regex Code : I ...
I use pcre2_substitute in C. The output string is set by If the string is longer than 1024 characters, pcre2_substitute returns -48 error. Befo ...
I replace the first occurrence of the match with pcre2_substitute, I know that I should repeat pcre2_substitute in a loop for replacing the next ma ...
I have a RegEx that does not match using PHP (nor regex101.com) but does with MariaDB. Its purpose is to search for HTML classes in XML values (the HT ...
Given an arbitrary string of words (for simplicity each letter represents a word): a b c d e f c g e b c f d g I am trying to find a regex that allow ...
Is it possible to replicate, using only regex and only base R (only using the g*sub() functions), the following... For non-ascii letters? PS. R ...