Regular Expressions 101

Sponsors

Library entries

0
pcre

Italian phone number regex

Italian phone number reg
Submitted by Ali Babayev - 7 months ago
0
pcre2

PCRE2 ipv6

Some cases of ipv6 at string begin
Submitted by anonymous - 7 months ago
0
pcre2

LinkedIn School Username

x
Submitted by anonymous - 7 months ago
0
pcre2

提取src

提取src
Submitted by anonymous - 7 months ago
0
java

Hitech RTOZONE

Checks the registration number's validity
Submitted by Sid - 7 months ago
0
java

java-test1

java test string
Submitted by anonymous - 7 months ago
0
pcre2

quote

quote text
Submitted by anonymous - 7 months ago
0
pcre2

HTML TAG Match

Match a html tag.
Submitted by Fernando Gaston Olivera Alaniz - 7 months ago
1
pcre2

CSV quotation mark

See quotes that are not delimiters
Submitted by anonymous - 7 months ago
0
pcre2

Nom avant domaine

sdfsdfsdfsdf
Submitted by sdfsfsdfsdf - 7 months ago
0
pcre2

Validate email

Regex for email validation
Submitted by anonymous - 7 months ago
0
pcre2

Check WP Admin URLs

Check WP admin pages that are indexed
Submitted by anonymous - 7 months ago

AWS Load Balancer Controller Access log

Vote

0

Regular Expression
pcre

/
^(?P<alb_type>(https?|h2|wss?))\s*(?P<alb_timestamp>[^\s]+)\s*(?P<alb_elb>[^\s]+)\s*(?P<alb_client_addr>[^:]+):\s*(?P<alb_client_port>[^\s]+)\s*(?P<alb_target_addr>[^:]+):\s*(?P<alb_target_port>[^\s]+)\s*\s*(?P<alb_request_processing_time>[^\s]+)\s*(?P<alb_target_processing_time>[^\s]+)\s*(?P<alb_response_processing_time>[^\s]+)\s*(?P<alb_elb_status_code>[^\s]+)\s*(?P<alb_target_status_code>[^\s]+)\s*(?P<alb_received_bytes>[^\s]+)\s*(?P<alb_sent_bytes>[^\s]+)\s*"(?P<alb_request>.*?)"\s+"(?P<alb_user_agent>[^\"]+)"\s*(?P<alb_ssl_cipher>[^\s]+)\s*(?P<alb_ssl_protocol>[^\s]+)\s*(?P<alb_target_group_arn>[^\s]+)\s*"(?P<alb_trace_id>[^\"]+)"\s*"(?P<alb_domain_name>[a-zA-Z0-9\.\-:]+)"\s*"(?P<alb_chosen_cert_arn>[^\"]+)"\s*(?P<alb_matched_rule_priority>[^\s]+)\s*(?P<alb_request_creation_time>[^\s]+)\s*\s*"(?P<alb_actions_executed>[^\s]+)"\s*"(?P<alb_redirect_url>[^\s]+)"\s*"(?P<alb_error_reason>[^\"]+)"\s*"?(?P<alb_target_port_list>[0-9 :\.-]+)"?\s*"?(?P<alb_target_status_code_list>[0-9 -]+)"?
/
gm

Description

Loading markdown...
Submitted by Bit_029 - 7 months ago