Regular Expressions 101

Sponsors

Library entries

0
javascript

finding video names

Should find any video names
Submitted by anonymous - 4 hours ago
0
pcre2

Check WP Admin URLs

Check WP admin pages that are indexed
Submitted by anonymous - 8 hours ago
0
pcre2

SMB share parsing

A regex for parsing SMB shares
Submitted by Drav Sloan - a day ago
0
pcre2

DTM Validation

DTM Validation
Submitted by Mike Cheel - 2 days ago
0
java

Match CLI argument to

Matches argumetn to as: -t --to -t= ...
Submitted by rperez-torro - 2 days ago
0
pcre2

iamge url

all image url in in content
Submitted by farhad rohani - 2 days ago

Validate US Telephone Numbers

Vote

1

Regular Expression
javascript

/
^1?\s?\(\d{3}\)\s?\d{3}\s?-?\d{4}$|^(?:1\s)?\d{3}(\s|-)?\d{3}\1\d{4}$
/

Description

Loading markdown...
Submitted by Davide Vozzi - 6 years ago