Regular Expressions 101

Sponsors

Library entries

0
javascript

Matches filenames in urls

Filenames in urls
Submitted by anonymous - 4 hours ago
0
javascript

sql inj

as
Submitted by anonymous - 4 days ago
0
golang

super regex

Get every word ending with dot using Regex/VBA
Submitted by anonymous - 5 days ago
0
javascript

Currency

Currency
Submitted by jerryd - 7 days ago
0
python

parse sqf defines

parsing armas sqf preprocessor defines
Submitted by anonymous - 10 days ago
0
python

Test molecule coverage

Regex to test covered tests
Submitted by Florian Toulemont - 12 days ago
0
python

US Stock Exchange symbols

Regex for Telegram Bot
Submitted by Lucas Zurverra - 12 days ago

IP (v4 and v6) check

Vote

0

Regular Expression
javascript

/
(^([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}$|^([0-9a-fA-F]{1,4}:){6}:(?:[0-9a-fA-F]{1,4}){0,1}$|^([0-9a-fA-F]{1,4}:){5}(?:(:[0-9a-fA-F]{1,4}){1,2}|:)$|^([0-9a-fA-F]{1,4}:){4}(?:(:[0-9a-fA-F]{1,4}){1,3}|:)$|^([0-9a-fA-F]{1,4}:){3}(?:(:[0-9a-fA-F]{1,4}){1,4}|:)$|^([0-9a-fA-F]{1,4}:){2}(?:(:[0-9a-fA-F]{1,4}){1,5}|:)$|^[0-9a-fA-F]{1,4}:(?:(:[0-9a-fA-F]{1,4}){1,6}|:)$|^:((:[0-9a-fA-F]{1,4}){1,7}|:)$)|(^(?:(?:25[0-5]|(?:2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(?:25[0-5]|(?:2[0-4]|1{0,1}[0-9]){0,1}[0-9])$)
/
ig

Description

Loading markdown...
Submitted by Emanuele Benedetti - 5 months ago