Preview lessons, content and tests

Computer Science & Programming solved. All in one platform.

1. To trial the platform and take tests, please take a few seconds to SIGN UP and SET UP FREE.
2. Searching for something specific? See our text overview of all tests. Scroll right for levels, and lists.

Join 36000+ teachers and students using TTIO.

Regular Expressions

A regular expression (shortened as regex) is a sequence of characters that define a search pattern. Usually such patterns are used by string-searching algorithms for "find" or "find and replace" operations on strings, or for input validation. It is a technique developed in theoretical computer science and formal language theory.

Try it here: > https://pythex.org/

Presentation on Regular Expressions with examples

Want to see regular expressions in practice? Check out our webscraping series under the "Python Programming" level.

Suggested Video

Try it: Create your own expression here

https://www.freeformatter.com/regex-tester.html

www.teachyourselfpython.com