Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(?<=[^/])\/(?=[^\/])([\w\s\S]*)$
/
g

Description

with a url of aws cuts the url

Submitted by d3w3r - 2 years ago