Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^[^#?]+\.([a-zA-Z0-9]+)(?:[?#].*)?$
/

Description

Extract file extention from URL

Submitted by anonymous - 9 years ago