Regular Expressions 101

Community Patterns

2

US zip Code

ECMAScript (JavaScript)
US zip Code
Submitted by Aloke - 8 years ago
1

test

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 8 years ago
1

rsa_root_prompt

PCRE (PHP <7.3)
Root Prompt of RSA
Submitted by anonymous - 8 years ago
1

sumary-title

ECMAScript (JavaScript)
sumary-title
Submitted by Jay - 8 years ago
1

pm-problem

ECMAScript (JavaScript)
pm
Submitted by creamidea - 8 years ago

Shortcode parser

3

Regular Expression
PCRE (PHP <7.3)

/
(?P<shortcode>(?:(?:\s?\[))(?P<name>[\w\-]{3,})(?:\s(?P<attrs>[\w\d,\s=\"\'\-\+\#\%\!\~\`\&\.\s\:\/\?\|]+))?(?:\])(?:(?P<html>[\w\d\,\!\@\#\$\%\^\&\*\(\\)\s\=\"\'\-\+\&\.\s\:\/\?\|\<\>]+)(?:\[\/[\w\-\_]+\]))?)
/
ug

Description

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