Regular Expressions 101

Sponsors

Library entries

1
pcre

URL Validator (HTTP and HTTPS)

Validate one URL HTTP and HTTPS
Submitted by Joaquim - 7 hours ago
0
pcre

Mysite

Hello
Submitted by anonymous - 7 hours ago
0
pcre

MBI Regex

validates against the MBI format published by CDC
Submitted by i410hlr - 2 days ago
0
pcre

Parse arguments

Parse arguments
Submitted by Ofir Yariv - 2 days ago
0
dotnet

15.02.2022 15:00:00

15.02.2022 15:00:00
Submitted by anonymous - 3 days ago
0
dotnet

Minimum 10 herhangi dijit

Minimum 10 herhangi dijit
Submitted by anonymous - 3 days ago
0
dotnet

USD

USD
Submitted by anonymous - 3 days ago
0
dotnet

01 Jan 2022 Mon 01:02:03

01 Jan 2022 Mon 01:02:03
Submitted by anonymous - 3 days ago
0
dotnet

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

Koray Bilgi, Text-Regex
Submitted by anonymous - 3 days ago
-1
dotnet

MMM DDD YYYY

FEB MON 2023
Submitted by anonymous - 3 days ago
0
pcre

User-Agent

Parser
Submitted by sn3kdev - 7 days ago
0
pcre

Parcing2

aa
Submitted by anonymous - 9 days ago
0
pcre

trim phone number

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

Business Address | WI | Trademark | USA

s
Submitted by anonymous - 10 days ago
0
java

carbon

test1
Submitted by anonymous - 10 days ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - 10 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