Regular Expressions 101

Sponsors

Library entries

2
pcre

Repetitions

More than three words repeated in 3.
Submitted by paconaranjo - 9 years ago
2
pcre

HTTP url parser

Parses a URL to the different parts
Submitted by AmitK - 8 years ago
2
pcre

named group sample

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

Match subset

no description available
Submitted by Jason - 8 years ago
2
pcre

Parse keywords from search string

no description available
Submitted by @bananascript - 8 years ago
2
pcre

parse images

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

Regex Capture String

Capture out Parts using regular expressions
Submitted by Brandon - 8 years ago
2
pcre

Li match

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

find numeric groups in strings

no description available
Submitted by Vovan - 8 years ago

Logix Designer tag operand

Vote

2

Regular Expression
pcre

@
^(?<tag>(?:[a-zA-Z]\w*|_\w+))(?<memspec>(?:(?:(?:\s*\.(?:[a-zA-Z]\w*|_\w+)|(?:\s*\[(?:[^,\]]+)(?:,(?:[^,\]]+))*\]))*)(?:(?:\s*\.\d+|\.\s*(?:\s*\[(?:[^,\]]+)\]))?)))?(?<metadataspec>(?:\s*\.\@(?<metadataid>(?:[a-zA-Z]\w*|_\w+))(?<metadatamemspec>(?:(?:(?:\s*\.(?:[a-zA-Z]\w*|_\w+)|(?:\s*\[(?:[^,\]]+)(?:,(?:[^,\]]+))*\]))*)(?:(?:\s*\.\d+|\.\s*(?:\s*\[(?:[^,\]]+)\]))?)))?))?$
@
gm

Description

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