Regular Expressions 101

Sponsors

Library entries

0
java

Fund - Arriving in Kathmandu

Simple regex for Softuni
Submitted by anonymous - 2 years ago
0
java

笔试

笔试字符串检查regex
Submitted by bgst009 - a year ago
0
java

Alien Registration Number

Alien Registration Number
Submitted by anonymous - a year ago
0
java

OmegaT exercises

OmegaT exercises
Submitted by msoutopico - a year ago
0
java

Email Regex

Regex to capture email from Text
Submitted by Suman Maharjan - a year ago
0
java

my regex

test
Submitted by anonymous - a year ago
0
java

Kotlin FTP Proto Check

ftpProtoCheck
Submitted by anonymous - a year ago
0
java

Password in java

password in java
Submitted by anonymous - a year ago

split URL into location-resource-params

Vote

3

Regular Expression
pcre

/
(?'location'.+)(?:\/(?'resource'[\w\-\._]+\.js))(?:\?(?'params'.+))?
/
gm

Description

Loading markdown...
Submitted by cebence - 8 years ago