Regular Expressions 101

Community Patterns

last URL argument

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 - 8 years ago