Regular Expressions 101

Sponsors

Library entries

0
pcre2

Picking 2nd 1st Line

Picking 2nd 1st Line
Submitted by Picking 2nd 1st Line - a year ago
0
pcre2

Picking 1st Line

Picking 1st Line
Submitted by Picking 1st Line - a year ago
0
pcre2

City State Zip

City State Zip
Submitted by anonymous - a year ago
1
pcre2

ticker but not EFS

ticker but not EFS
Submitted by anonymous - a year ago
0
javascript

soteshop price

aa
Submitted by anonymous - a year ago
0
java

id card

打断点
Submitted by anonymous - a year ago
0
java

fdsf

sdf
Submitted by anonymous - a year ago
0
pcre2

App store

App store ID
Submitted by anonymous - a year ago
0
javascript

Collection of sub routes with similar segments

asdf
Submitted by anonymous - a year ago
0
pcre2

username or email?

validate username or email
Submitted by anonymous - a year ago
0
pcre2

Match phrase at end of line.

Match phrase at end of line.
Submitted by s1nglethr3ad - a year ago

Parse Kubernetes Resource URI Paths

Vote

1

Regular Expression
golang

`
^(?:/api|/apis/(?P<GROUP>[^/]+))/(?P<VERSION>[^/]+)(?:/namespaces/(?P<NAMESPACE>[^/]+))?/(?P<RESOURCETYPE>[^/\n]+)(?:/(?P<NAME>[^/\n]+))?(?:/(?P<SUBRESOURCE>[^/\n]+))?$
`
gm

Description

Loading markdown...
Submitted by Mathew Wicks - a year ago