Regular Expressions 101

Sponsors

Library entries

2
pcre

NSU ID Card Checker

no description available
Submitted by anonymous - 5 years ago
2
pcre

Match "A B C" where A+B=C (final version)

no description available
Submitted by anonymous - 4 years ago
3
pcre

Get Nth value (3 times)

capture Nth character from string, 3 times
Submitted by K. - 9 years ago
3
pcre

Task 2, part 1

Finds all source numbers in square brackets
Submitted by Kovalev Evgeny - 9 years ago
3
pcre

UUID

no description available
Submitted by Jason - 8 years ago

Shortcode parser

Vote

3

Regular Expression
pcre

/
(?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 - 7 years ago