Regular Expressions 101

Library entries

HTTP url parser

Vote

3

Regular Expression
pcre

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

Description

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