iwantcoding
.com
Tutorials
▾
Web Frontend
HTML
CSS
HTML5
CSS3
JavaScript
TypeScript
Sass
React
Vue
Svelte
Tailwind
Backend
Python
PHP
Node.js
Java
Go
Rust
Ruby
C#
Databases
SQL
MySQL
PostgreSQL
MongoDB
Firebase
GraphQL
Redis
Mobile
React Native
Flutter
Swift
Kotlin
Ionic
Cloud & DevOps
AWS
Docker
Kubernetes
CI/CD
Linux/Bash
AI & Data
NumPy/Pandas
Machine Learning
TensorFlow
PyTorch
LangChain
RAG
Cybersecurity
XSS
SQL Injection
CSRF
OWASP Top 10
Cryptography
Ethical Hacking
Tools
Git
DSA
Design Patterns
RegEx
VS Code
Specialty
Game Dev
WordPress
Web3/Solidity
Three.js
Capstone
Enterprise Architecture
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
TYPESCRIPT
REACT
NODEJS
MONGODB
DOCKER
GIT
TAILWIND
GRAPHQL
LINUX-BASH
AWS
KUBERNETES
VUE
SVELTE
SASS
THREEJS
GO
RUST
JAVA
RUBY
CSHARP
WORDPRESS
POSTGRESQL
MYSQL
REDIS
FIREBASE
REACT-NATIVE
FLUTTER
SWIFT
KOTLIN
IONIC
CICD
NUMPY-PANDAS
ML
TENSORFLOW
PYTORCH
LANGCHAIN
XSS
SQLI
CSRF
OWASP
CRYPTO
DSA
DESIGN-PATTERNS
REGEX
VSCODE
GAMEDEV
WEB3
ENTERPRISE
CAPSTONE
ETHICAL-HACKING
🔥 Daily
👥 Rooms
🏆 Top
Log in
Sign up
AI ✨
RegEx Tutorial
BOSS QUIZ
10 questions · 5 minutes · pass at 70% to clear the track.
05:00
Start
Q1.
The . metacharacter matches…
from Intro
Literal dot
Any single character (often except \n)
Newline only
Whitespace only
Q2.
A defence is to use…
from Catastrophic Backtracking (ReDoS)
Bigger CPUs
RE2 / safe-regex / atomic groups
eval()
longer patterns
Q3.
Named groups use…
from Groups & Capture
(?P<name>) or (?<name>)
(name:)
$name
group: name
Q4.
Backreferences refer to a previous group via…
from Groups & Capture
$0
\\1 (or \1)
#1
@1
Q5.
Anchor ^ usually matches…
from Intro
End of string
Start of string (or line with m flag)
A literal caret
Negation only
Q6.
Negative lookahead is written…
from Look-ahead / behind
(?=…)
(?!…)
(?:…)
(?<…)
Q7.
Non-capturing groups use…
from Groups & Capture
()
(?:)
(?=)
(?<>)
Q8.
Regular expressions describe…
from Intro
Random strings
Sets of strings (a language)
Only file names
Only digits
Q9.
x+ means…
from Quantifiers
Zero or more x
One or more x
Optional x
Exactly one x
Q10.
{2,5} matches…
from Quantifiers
2 or 5
2 to 5 repetitions
Exactly 25
At least 5
Submit
Back to RegEx Tutorial
🏆
Achievement unlocked!