RESOURCE MONITOR
CPU23%
MEMORY67%
DISK I/O45%
NETWORK89%
SYSTEM MONITOR
|
SECURITY LOG
[14:23:45]INFOUser authentication successful
[14:23:47]WARNSuspicious network activity detected
[14:23:50]INFOFirewall rule updated
NETWORK SCAN
Scanning ports: 22, 80, 443, 3389
192.168.1.100 - OPEN
192.168.1.101 - FILTERED
Scan completed: 4/4 ports

Regex Flags and Modifiers

Regex Fundamentals - Lesson 8 (Final)

18 min
Progress0/5

Understanding Regex Flags

Concept

Flags modify how regex patterns are interpreted. They are usually specified after the closing slash in /pattern/flags format.

Example

/hello/i - case insensitive
/pattern/g - global match
/text/m - multiline mode

Practical Application

Flags change the behavior of the entire pattern, making regex more flexible