Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

Description

A way to match the last URL argument that allows arguments to contain any characters except '#' and '/'.

Assumes that URL argument separator is '/' and that the list starts with '#'. Clearly, not universal!

Submitted by A. Roberts - 9 years ago