Regular Expressions 101

Sponsors

Library entries

0
java

IOP test regex

test string returned from error message
Submitted by anonymous - 27 minutes ago
0
pcre

MBI Regex

validates against the MBI format published by CDC
Submitted by i410hlr - 4 hours ago
0
pcre

Parse arguments

Parse arguments
Submitted by Ofir Yariv - 5 hours ago
0
dotnet

15.02.2022 15:00:00

15.02.2022 15:00:00
Submitted by anonymous - a day ago
0
dotnet

Minimum 10 herhangi dijit

Minimum 10 herhangi dijit
Submitted by anonymous - a day ago
0
dotnet

USD

USD
Submitted by anonymous - a day ago
0
dotnet

01 Jan 2022 Mon 01:02:03

01 Jan 2022 Mon 01:02:03
Submitted by anonymous - a day ago
0
dotnet

^[A-Z,a-z,\-, ,\&]+$

Koray Bilgi, Text-Regex
Submitted by anonymous - a day ago
-1
dotnet

MMM DDD YYYY

FEB MON 2023
Submitted by anonymous - a day ago
0
pcre

User-Agent

Parser
Submitted by sn3kdev - 5 days ago
0
pcre

Parcing2

aa
Submitted by anonymous - 7 days ago
0
pcre

trim phone number

trim phone number
Submitted by anonymous - 7 days ago
0
java

Business Address | WI | Trademark | USA

s
Submitted by anonymous - 8 days ago
0
java

carbon

test1
Submitted by anonymous - 8 days ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - 8 days ago

inefficient int/float(exponent)

Vote

0

Regular Expression
pcre

/
(?'number'(?'float'(?>\d+[\.](?>\d+)?)|(?>(?>\d+)?[\.]\d+))|\d+)(?'exponent'e[+-](?&number))?
/
mg

Description

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