Regular Expressions 101

Sponsors

Library entries

1
javascript

IpAddress

Ensure the ip address format is correct
Submitted by aaa - 2 years ago
1
python

Get table rows

no description available
Submitted by anonymous - 2 years ago
1
python

Match table head and body

no description available
Submitted by anonymous - 2 years ago
1
javascript

Factorisation.

no description available
Submitted by anonymous - 2 years ago
1
javascript

xxx-xxx-xxxx

☎️
Submitted by codefinity - 2 years ago
1
javascript

Identify lines on an invoice

it identifies lines in an invoice
Submitted by Vladox - a year ago
1
javascript

Test

Haiz
Submitted by anonymous - a year ago
1
javascript

value-attached text

value-attached text
Submitted by pyrochlore - a year ago
1
javascript

Basic Phone Number Matching

Basic Phone Number Matching
Submitted by Anthony Cooper - a year ago

URL check

Vote

1

Regular Expression
javascript

/
^(?:tcp|ip|udp|pop|smpt|t?ftp|https?):\/\/(?:[a-zA-Z]+:[a-zA-Z\.=%#\-_&]+@)?(?![\.\-])(?:(?:[a-z-A-Z0-9\-](?!\-{2,})){1,63}\.(?:[a-zA-Z0-9\-](?!\-{2,})){1,63}\.?(?:[a-zA-Z0-9\-](?!\-{2,})){1,63}?\.?(?:[a-zA-Z0-9\-](?!\-{2,})){1,63}?)(?:\:(?:[0-9]{1,4}|[0-6][0-5]{1,2}[0-3][0-5]))?(?:\/|\/(?!\/)(?:[a-zA-Z0-9\-\/](?!\/{2,}))+)?(?:\?(?:(?:[a-zA-Z0-9\-\_\=\&\:\+]|%(?:[A-Z0-9]){2})(?!%{2,}|={2,}|&{2,}|\+{2,}))+)(?:#(?:(?:[a-zA-Z0-9\=\-\_\:\~]|%[A-Z0-9]{2})(?!\={2,}|~{2,}|:{2,}|\-{2,}|\_{2,}))*)?$
/

Description

Loading markdown...
Submitted by javalsai - a year ago