Regular Expressions 101

Sponsors

Library entries

0
pcre2

find between 2 strings

find between 2 strings
Submitted by anonymous - 15 hours ago
0
python

Url handling

Simple regex to split url
Submitted by Hangfish - 16 hours ago
0
pcre2

Jerem

To match specific name based on season code
Submitted by anonymous - 2 days ago
1
javascript

Match HMTL/WXML tag and class

Match HMTL/WXML tag and class
Submitted by ice breaker - 3 days ago
0
pcre2

.csv data conversion for a test case

from "['a']" to "[""a""]"
Submitted by anonymous - 3 days ago
0
javascript

UA phone number

check ua phone number
Submitted by anonymous - 4 days ago
0
pcre2

track OM cash out

cash out tracker
Submitted by anonymous - 5 days ago
1
javascript

array path

Extract the array path from a nested path
Submitted by anonymous - 5 days ago
0
pcre2

Php

Php
Submitted by Nickname - 5 days ago

Currency with dollar sign, two decimals, negative allowed, starting with period ok

Vote

2

Regular Expression
javascript

/
^(?:[$](\s{0,1})|)[+-]?(\d{1,3},?(\d{3},?)*\d{3}(\.\d{0,2})?|\d{1,3}(\.\d{0,2})?|\.\d{1,2}?)$
/
gm

Description

Loading markdown...
Submitted by Natalia Zolotareva - 4 months ago