Regular Expressions 101

@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
Whats new?

Library entries

0
pcre2
Submitted by anonymous - 5 hours ago

get first number from string

no description available
0
pcre2
Submitted by anonymous - 15 hours ago

ReName_01_

no description available
0
pcre2
Submitted by anonymous - 18 hours ago

6 digit Sort Code without dashes

no description available
0
python
Submitted by anonymous - 20 hours ago

Question 2

no description available
0
pcre
Submitted by anonymous - a day ago

CODA download log

no description available
0
pcre2
Submitted by anonymous - 2 days ago

Dup words

no description available
2
pcre2
Submitted by anonymous - 2 days ago

Dutch zipcodes

no description available
1
pcre2
Submitted by anonymous - 2 days ago

Dutch mobile phone number

no description available
0
pcre
Submitted by anonymous - 2 days ago

Url regex

no description available
0
pcre
Submitted by anonymous - 2 days ago

aaa

no description available
0
pcre2
Submitted by anonymous - 2 days ago

Aplayer Icons Regex

no description available
0
pcre2
Submitted by anonymous - 2 days ago

cisco command

no description available
0
pcre2
Submitted by Habibi Mustafa - 2 days ago

Minify HTML

Remove Whitespace Remove Comment
0
pcre2
Submitted by anonymous - 2 days ago

get main content if has :

no description available
0
python
Submitted by anonymous - 2 days ago

conditional phone numbers

no description available

iC1000 Päävalikko

Regular Expression
python

"
\*+\n \*\s+(?P<menu_name>PÄÄVALIKKO) \s\s\((?P<controller_model>iC1000)\s+ (?P<software_version>[0-9\.]+)\)\s+\*\n \*\s+Ala\_asema\s+(?P<substation_number>[0-9]+) \s+\*\n \*\-+\*\n \*\s+(Tulostus)\s+1\s+\*\n \*\s+(Asetus)\s+2\s+\*\n \*\s+(Ohjelmointi)\s+3\s+\*\n \*\s+(Hälytysten\skuittaus)\s+4\s+\*\n \*\s+(Ohjauksen\stila)\s+A\s+\*\n \*\s+(Impulssiarvo)\s+B\s+\*\n \*\s+(Säädön\sasetusarvo)\s+C\s+\*\n \*\s+(Mittauksen\srajat)\s+D\s+\*\n \*\s+(Asetusarvopisteen\sarvo)\s+E\s+\*\n \*\s+(Yhteyden\slopetus)\s+X\s+\*\n \*+
"
gmx

Description

Loading markdown...
Submitted by anonymous - 3 days ago