Regular Expressions 101

Sponsors

Library entries

1
javascript

xxx-xxx-xxxx

☎️
Submitted by codefinity - 2 years ago
0
javascript

Email

to validate email
Submitted by anonymous - 2 years ago
0
golang

artifactory-request

no description available
Submitted by Scott Barnes - 2 years ago
0
javascript

validate password

no description available
Submitted by blastz - 2 years ago
0
javascript

Currency to input

no description available
Submitted by anonymous - 2 years ago
0
javascript

world phone number

no description available
Submitted by anonymous - 2 years ago

Regular Expression to Validate File Path and Extension

Vote

1

Regular Expression
javascript

/
^(?:[\w]\:|\/)(\/[a-z_\-\s0-9\.]+)+\.(txt|gif|pdf|doc|docx|xls|xlsx|js)$
/
i

Description

Loading markdown...
Submitted by anonymous - 2 years ago