A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.w3schools.com/python/gloss_python_regex_sets.asp below:

Website Navigation


Python RegEx Sets

Python RegEx Sets RegEx Sets

A set is a set of characters inside a pair of square brackets [] with a special meaning:

Set Description Try it [arn] Returns a match where one of the specified characters (a, r, or n) are present Try it » [a-n] Returns a match for any lower case character, alphabetically between a and n Try it » [^arn] Returns a match for any character EXCEPT a, r, and n Try it » [0123] Returns a match where any of the specified digits (0, 1, 2, or 3) are present Try it » [0-9] Returns a match for any digit between 0 and 9 Try it » [0-5][0-9] Returns a match for any two-digit numbers from 00 and 59 Try it » [a-zA-Z] Returns a match for any character alphabetically between a and z, lower case OR upper case Try it » [+] In sets, +, *, ., |, (), $,{} has no special meaning, so [+] means: return a match for any + character in the string Try it »

Track your progress - it's free!


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4