Community Patterns

Community Library Entry

0

Regular Expression
Created·2017-02-21 17:27
Flavor·PCRE (Legacy)

/
(^(?:stackoverflow\.com)?[\/]*([cv|users|story]?[\/\w\-\.]*)$)|(^(?:http?:\/\/|https?:\/\/)?(?:www\.)?stackoverflow\.com\/(?:\/*)([\w\-\.\/\%]*))
/
gm
Open regex in editor

Description

Get only the profile part without the url.

Submitted by Chocksy