Community Patterns

Community Library Entry

2

Regular Expression
Created·2014-06-23 09:21
Flavor·PCRE (Legacy)

/
((http[s]?\:)\/\/)?([^\?\:\/#]+)(\:([0-9]+))?(\/[^\?\#]*)?(\?([^#]*))?(#.*)?
/
i
Open regex in editor

Description

Parses a URL to the different parts

Submitted by AmitK