Regular Expressions 101

Sponsors

Library entries

1
pcre

Swiss MWST

Swiss VAT Numbers
Submitted by igrokit - 2 years ago
0
pcre2

Get Client

Parse Client type
Submitted by ben - 2 years ago
0
pcre2

Address

grab address
Submitted by anonymous - 2 years ago
0
java

Email Regex

Regex to capture email from Text
Submitted by Suman Maharjan - 2 years ago
0
pcre2

r-type single register

for a comp arch assembler
Submitted by anonymous - 2 years ago
0
pcre2

django /static/ to {% static %}

replaces as said
Submitted by anonymous - 2 years ago
0
pcre2

owo/uwu/7w7

detects this shit: owo uwu 7w7 unu 7n7...
Submitted by padero - 2 years ago

finding correct assignment statements part 3

Vote

0

Regular Expression
pcre2

/
(?#leftside)[a-zA-Z][a-zA-Z0-9]*((\s)*\[(\s)*([0-9]+|[a-zA-Z][a-zA-Z0-9]*)((\s)*[+*\/-](\s)*([0-9]+|[a-zA-Z][a-zA-Z0-9]*))*(\s)*\])?(?#rightside)(\s)*=(\s)*(-)?([0-9]+|[a-zA-Z][a-zA-Z0-9]*((\s)*\[(\s)*([0-9]+|[a-zA-Z][a-zA-Z0-9]*)((\s)*[+*\/-](\s)*([0-9]+|[a-zA-Z][a-zA-Z0-9]*))*(\s)*\])?)((\s)*[+*\/-](\s)*([0-9]+|[a-zA-Z][a-zA-Z0-9]*((\s)*\[(\s)*([0-9]+|[a-zA-Z][a-zA-Z0-9]*)((\s)*[+*\/-](\s)*([0-9]+|[a-zA-Z][a-zA-Z0-9]*))*(\s)*\])?))*(\s)*;
/
mg

Description

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