Regular Expressions 101

Sponsors

Library entries

1
java

Match all numbers

Match all numbers from a string.
Submitted by VS - a year ago
1
java

Sınıfları Tek Tek seçme

za
Submitted by anonymous - a year ago
1
java

css attribute validation

css attribute validation
Submitted by arnab - a year ago
1
java

标点

匹配大部分标点
Submitted by anonymous - a year ago
1
java

sfdgvsdgdfg

dgfdgdf
Submitted by anonymous - a year ago
1
java

11

11
Submitted by 11 - 10 months ago
1
java

Rick Roll

Matches chorus of Never Going to Give You Up
Submitted by Stephen Battista - 6 months ago

http url regex

Vote

17

Regular Expression
javascript

/
^((https?:)(\/\/\/?)([\w]*(?::[\w]*)?@)?([\d\w\.-]+)(?::(\d+))?)?([\/\\\w\.()-]*)?(?:([?][^#]*)?(#.*)?)*
/
gmi

Description

Loading markdown...
Submitted by Miguel Castillo @manchagnu - 7 years ago