Regular Expressions 101

Sponsors

Library entries

1
javascript

OPC UA Server

Gets IP-Address/host name from URL
Submitted by anonymous - 7 years ago
-1
javascript

Arabic AlphaNumeric

Arabic AlphaNumeric text
Submitted by Ahmed - 7 years ago
1
javascript

passage parser

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

Javascript GUID regex

Validate GUID using a regex expression
Submitted by stom - 7 years ago
1
javascript

HCPCS

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

ICD9

no description available
Submitted by anonymous - 7 years ago
4
javascript

UK Postcode

no description available
Submitted by msyed - 7 years ago
2
javascript

get href

gets value of href
Submitted by me - 7 years ago
1
javascript

syntax?

trying to figure out how to find variable names only
Submitted by me - 7 years ago
1
javascript

search file name from path / url

no description available
Submitted by anonymous - 7 years ago
0
javascript

Date expression

yyyy-mm-dd
Submitted by Alan - 7 years ago
0
javascript

zepit multiline

no description available
Submitted by antoine - 7 years ago
1
javascript

hex4

no description available
Submitted by anonymous - 7 years ago

url

Vote

1

Regular Expression
javascript

/
\(?(?:(http|https|ftp):\/\/)?(?:((?:[^\W\s]|\.|-|[:]{1})+)@{1})?((?:www.)?(?:[^\W\s]|\.|-)+[\.][^\W\s]{2,4}|localhost(?=\/)|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})(?::(\d*))?([\/]?[^\s\?]*[\/]{1})*(?:\/?([^\s\n\?\[\]\{\}\#]*(?:(?=\.)){1}|[^\s\n\?\[\]\{\}\.\#]*)?([\.]{1}[^\s\?\#]*)?)?(?:\?{1}([^\s\n\#\[\]]*))?([\#][^\s\n]*)?\)?
/

Description

Loading markdown...
Submitted by anonymous - 7 years ago