Regular Expressions 101

Sponsors

Library entries

1
pcre

Nome (facoltativo) e cognome italiano

no description available
Submitted by anonymous - 2 years ago
1
python

weighted average

no description available
Submitted by anonymous - 2 years ago
1
pcre

Barueri NFE

Barueri NFE
Submitted by anonymous - 2 years ago
1
python

bot

no description available
Submitted by anonymous - 2 years ago
1
pcre

Sucinnost

no description available
Submitted by anonymous - 2 years ago
1
golang

Flexible box

no description available
Submitted by anonymous - 2 years ago
1
javascript

forAllWorkToIll

no description available
Submitted by anonymous - 2 years ago
1
javascript

No repeating, no 1234567889,

no description available
Submitted by anonymous - 2 years ago
1
pcre

wiremock all except regex

no description available
Submitted by anonymous - 2 years ago
1
pcre

dnsmasq query logs

no description available
Submitted by anonymous - 2 years ago
1
pcre

SKCET REGNO

no description available
Submitted by anonymous - 2 years ago
1
python

carryover_assimilation_plosives

no description available
Submitted by anonymous - 2 years ago
1
pcre

Telefones

no description available
Submitted by anonymous - 2 years ago

create or change one optional part to another

Vote

1

Regular Expression
pcre

/
(?#skip match process when S exist, or remove optional left most target T, capture left and right part of T. Use case: if N is not exist, modify/change T to N, or create N. If any create or modify write operated, appending output N to right. skip exist:)^(?!.*S)(?# captrue prefix :)^(.*?)(?# optional target to remove:)(?:T|$)(?# captrue postfix:)(.*?)$(?# Test string: aa aaT Tcc aaTcc aaTbbTcc aaS aaTS TccS aaTccS Saa SaaT STcc SaaTcc Substitution: $1$2N Return: aaN aaN ccN aaccN aabbTccN aaS aaTS TccS aaTccS Saa SaaT STcc SaaTcc)
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago