Regular Expressions 101

Sponsors

Library entries

0
python

Roman numerals check

It is used to check if the roman number is valid
Submitted by JNg - a day ago
0
python

Bespoke NGINX Log Parse

Splits NGINX logs into named groups
Submitted by Simon - 2 days ago
0
python

Special GPS input

Used for TrigDroid
Submitted by anonymous - 7 days ago
0
python

Aurora SMS Log Parser

For personal use in my project.
Submitted by sn3kdev - 19 days ago
0
python

hyperlinks

collect information from web links
Submitted by anonymous - 20 days ago
0
python

Find ytdlp downloaded file path

For internal use
Submitted by ezalos - 20 days ago
0
python

XML file extract from logs

For internal use
Submitted by ezalos - 20 days ago
0
python

Obtiene Subject 3 Ouutlook

'^Subject:.\s((=?^.[?=$]).*)'
Submitted by Julio Bacan - 22 days ago

URL Parts Extractor

Vote

1

Regular Expression
javascript

/
^((?:(?:http|ftp|ws)s?|sftp):\/\/?)?([^:/\s.#?]+\.[^:/\s#?]+|localhost)(:\d+)?((?:\/\w+)*\/)?([\w\-.]+[^#?\s]+)?([^#]+)?(#[\w-]*)?$
/
gm

Description

Loading markdown...
Submitted by Elie Grenon (elie-g) - 5 months ago