Parse Kubernetes Resource URI Paths

Published on Tue Mar 01 2022

This regex extracts [Kubernetes Resource URIs](https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-uris). ---- Copyright 2021 Mathew Wicks Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Additional matching regexes for
Parse Kubernetes Resource URI Paths

Parse Kubernetes Resource URI Paths

This regex extracts [Kubernetes Resource URIs](https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-uris). ---- Copyright 2021 Mathew Wicks Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

apache access log

parse the apache access log

Apache ErrorLog Parsing

Parse Apache Error Log Line (in default format). Example: [Wed Jun 01 20:05:21.194671 2016] [core:error] [pid 40699] [client ::1:64519] PHP Parse error: syntax error, unexpected '$t' (T_VARIABLE) in /Projects/trunk/code/php/test.php on line 16

Select all chars before last backslash

For selecting paths without filename

Match segmented paths with '\' and '/' escaped by '\'

Match segmented paths with '\' and '/' escaped by '\'

Pokemon Go Discord - friend codes

A regex to parse codes from a discord server

Apache Access Log pattern

Apache Web server log file format following the standard

split URL into location-resource-params

Extract resource location, name and query parameters from a URL

URL Regex (protocol strict)

Includes resource strings, taken from here: https://gist.github.com/dperini/729294

Simple Best URL Regex Match

# Best URL Regex to match URL, This is simple and can match 64K of url regex under 20ms ## Regex Matches All Below and more: - https://example.domain - http://example.domain - //example.domain - //example.com - https://example.com:34 - //example.com:23 - example.com