Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
(.+)(\?)(.+)
/
gmi

Description

Break URLs into three parts

  • Url
  • ?
  • QueryString
Submitted by Sachin Jain - 9 years ago