Tagged articles
113 articles
Page 1 of 2
Linux Tech Enthusiast
Linux Tech Enthusiast
Dec 12, 2025 · Fundamentals

In‑Depth Guide to Linux’s Text‑Processing Trio: grep, sed, and awk

This comprehensive tutorial explains the three essential Linux text‑processing tools—grep, sed, and awk—covering their core concepts, command‑line options, regular‑expression basics, practical examples, advanced features such as control structures and functions, and a side‑by‑side comparison of their capabilities.

GrepLinuxShell scripting
0 likes · 36 min read
In‑Depth Guide to Linux’s Text‑Processing Trio: grep, sed, and awk
php Courses
php Courses
Jun 19, 2025 · Backend Development

Master PHP Regex: How to Use preg_match, preg_replace, and More

This guide explains PHP’s regular expression functions—including preg_match, preg_match_all, preg_replace, and preg_split—detailing their syntax, required parameters, and practical code examples, while also covering advanced regex meta‑characters and symbols to enhance string matching and data processing.

PHPString Manipulationpreg_match
0 likes · 7 min read
Master PHP Regex: How to Use preg_match, preg_replace, and More
MaGe Linux Operations
MaGe Linux Operations
Apr 13, 2025 · Operations

Master the Linux ‘Three Musketeers’: grep, sed, and awk Explained

This guide introduces the Linux “three musketeers” – grep, sed, and awk – covering regular expression fundamentals, command syntax, options, and practical examples, enabling readers to efficiently search, edit, and process text files while mastering essential shell scripting techniques.

GrepShell scriptingawk
0 likes · 22 min read
Master the Linux ‘Three Musketeers’: grep, sed, and awk Explained
Java Captain
Java Captain
Mar 29, 2025 · Fundamentals

Java Regular Expressions: Syntax, Examples, and Usage

This article introduces Java regular expressions, covering basic syntax, character classes, logical operators, predefined tokens, quantifiers, practical code examples, common applications such as data validation, and performance optimization tips for effective string processing in Java.

MatcherString processingjava
0 likes · 11 min read
Java Regular Expressions: Syntax, Examples, and Usage
php Courses
php Courses
Mar 26, 2025 · Fundamentals

Comprehensive Guide to Python String Operations and Techniques

This comprehensive tutorial covers Python string fundamentals, including creation, indexing, slicing, common methods, formatting, encoding, regular expressions, performance optimizations, and real‑world examples, providing practical code snippets to enhance text processing efficiency for developers.

Pythonperformance optimizationprogramming fundamentals
0 likes · 8 min read
Comprehensive Guide to Python String Operations and Techniques
Liangxu Linux
Liangxu Linux
Jan 23, 2025 · Fundamentals

Master Linux grep: Essential Options and Real‑World Examples

This guide explains the Linux grep command, covering its basic syntax, a comprehensive list of useful options with descriptions, and practical examples that demonstrate how to search for strings, handle case sensitivity, display line numbers, count matches, and work with recursive and binary files.

GrepLinuxcommand-line
0 likes · 7 min read
Master Linux grep: Essential Options and Real‑World Examples
Test Development Learning Exchange
Test Development Learning Exchange
Dec 24, 2024 · Fundamentals

A Comprehensive Guide to Using Regular Expressions in Python

This article introduces Python's built‑in re module, explains how to import it, craft raw‑string patterns, and demonstrates common functions such as findall, match, search, sub, split, as well as compiling patterns, using match objects, flags, meta‑characters, and handling Unicode encoding for robust text processing.

String Manipulationcoding tutorialre module
0 likes · 8 min read
A Comprehensive Guide to Using Regular Expressions in Python
Open Source Tech Hub
Open Source Tech Hub
Oct 27, 2024 · Backend Development

How FastRoute Supercharges PHP Routing with One‑Pass Regex

This article explains FastRoute, a high‑performance PHP routing library created by Nikita Popov, detailing its design, core dispatcher and router mechanisms, feature set, single‑regex compilation technique, code examples, and real‑world usage within the Webman framework.

BackendFastRoutePHP
0 likes · 8 min read
How FastRoute Supercharges PHP Routing with One‑Pass Regex
Test Development Learning Exchange
Test Development Learning Exchange
Sep 10, 2024 · Fundamentals

Python Basics: Dictionaries, Sets, File Operations, Regular Expressions, Logging, Unit Testing, Profiling, and Third‑Party Libraries

This article introduces core Python concepts—including dictionaries and sets as key‑value and unique collections, file and directory manipulation with the os module, regular expression handling, logging setup, unit testing with unittest, performance profiling via cProfile, and using popular third‑party libraries such as requests and BeautifulSoup.

Data StructuresFile OperationsPython
0 likes · 7 min read
Python Basics: Dictionaries, Sets, File Operations, Regular Expressions, Logging, Unit Testing, Profiling, and Third‑Party Libraries
Python Programming Learning Circle
Python Programming Learning Circle
Aug 7, 2024 · Fundamentals

Python String Indexing and Manipulation Exercises

This article provides a comprehensive set of ten beginner-friendly Python string exercises covering indexing, slicing, step slicing, searching, replacing, concatenation, formatting, membership testing, length calculation, case conversion, and advanced topics like regular expressions, splitting, padding, stripping, digit checking, and practical text‑analysis examples.

PythonSlicingString Manipulation
0 likes · 13 min read
Python String Indexing and Manipulation Exercises
Test Development Learning Exchange
Test Development Learning Exchange
Jul 21, 2024 · Fundamentals

10 Python Regular Expression Examples and How to Use Them

This article introduces Python's re module and demonstrates ten practical regular‑expression examples—including basic matching, email extraction, finding multiple patterns, substitution, anchoring, wildcard matching, grouping, repetition, non‑greedy matching, and look‑behind—complete with code snippets and expected outputs.

Pythonre moduleregular expressions
0 likes · 7 min read
10 Python Regular Expression Examples and How to Use Them
Test Development Learning Exchange
Test Development Learning Exchange
Jul 11, 2024 · Fundamentals

10 Handy Python Regular Expression Scripts for Common Tasks

This article presents ten concise Python regular‑expression scripts that demonstrate how to validate email addresses, extract URLs, replace numbers, assess password strength, split strings, match dates, strip HTML tags, capitalize words, find phone numbers, and replace specific characters, empowering developers with practical pattern‑matching techniques.

PythonScriptingprogramming
0 likes · 5 min read
10 Handy Python Regular Expression Scripts for Common Tasks
Java Tech Enthusiast
Java Tech Enthusiast
Jul 8, 2024 · Databases

Fuzzy Company Name Matching Using MySQL Regular Expressions

The article describes a MySQL‑based fuzzy matching solution for preventing duplicate company entries in a business‑approval workflow, detailing preprocessing of Chinese company names, word segmentation with IKAnalyzer, RegExp pattern generation, and a custom SQL query that ranks results by keyword‑match ratio without using external search engines.

Chinese Word Segmentationcompany name validationfuzzy-matching
0 likes · 9 min read
Fuzzy Company Name Matching Using MySQL Regular Expressions
Python Programming Learning Circle
Python Programming Learning Circle
Jun 15, 2024 · Fundamentals

Six Practical Python Tips to Improve Coding Efficiency

This article presents six practical Python techniques—including exception handling, list comprehensions, regular expressions, web scraping with BeautifulSoup, lambda functions, and simple data visualizations using matplotlib—to help developers write cleaner, more efficient code and enhance their programming workflow.

Data visualizationException HandlingPython
0 likes · 6 min read
Six Practical Python Tips to Improve Coding Efficiency
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 2, 2024 · Fundamentals

Understanding Regular Expressions: Syntax, Engines, and Best Practices

This article provides a comprehensive overview of regular expressions, covering their basic syntax, meta‑characters, quantifiers, greedy vs. non‑greedy matching, look‑ahead/behind, capture groups, engine types such as NFA and DFA, performance pitfalls, optimization tips, major flavors (POSIX, PCRE, RE2), and practical examples for password validation and code‑block extraction.

DFANFAcapture groups
0 likes · 37 min read
Understanding Regular Expressions: Syntax, Engines, and Best Practices
Tencent Architect
Tencent Architect
Jan 16, 2024 · Artificial Intelligence

Metis: AI‑Driven In‑Network Regular Expression Enhancement for High‑Performance Traffic Inspection

The article introduces Metis, an AI‑based solution that replaces traditional regular‑expression matching for network traffic inspection, offering faster, more accurate detection, a compact model deployable on resource‑constrained P4 switches, and significant performance and cost benefits for cloud gateway security.

AIP4knowledge distillation
0 likes · 9 min read
Metis: AI‑Driven In‑Network Regular Expression Enhancement for High‑Performance Traffic Inspection
php Courses
php Courses
Nov 23, 2023 · Backend Development

PHP Regular Expression Functions: Syntax, Usage, and Examples

This article explains PHP's regular expression functions—including preg_match, preg_match_all, preg_replace, and preg_split—detailing their syntax, parameters, and practical code examples, and also covers advanced regex metacharacters and special symbols for powerful string matching and manipulation.

PHPString processingpreg_match
0 likes · 7 min read
PHP Regular Expression Functions: Syntax, Usage, and Examples
IT Services Circle
IT Services Circle
Sep 25, 2023 · Frontend Development

Understanding and Using Regular Expressions in JavaScript

This article provides a comprehensive, beginner‑friendly guide to JavaScript regular expressions, covering core concepts, syntax, creation methods, modifiers, character classes, quantifiers, special characters, capture groups, look‑ahead/look‑behind assertions, common string methods, practical use cases such as validation, search‑replace, data extraction, cleaning, and a list of useful online regex tools.

JavaScriptString Manipulationregular expressions
0 likes · 27 min read
Understanding and Using Regular Expressions in JavaScript
Liangxu Linux
Liangxu Linux
Jun 26, 2023 · Fundamentals

Master Regular Expressions in Shell: Practical sed & gawk Guide

This tutorial explains how to create and use regular expressions with the sed editor and gawk program in shell scripts, covering basic concepts, pattern types, special characters, quantifiers, grouping, and real‑world examples such as counting files, validating phone numbers, and verifying email addresses.

Bashgawkregex
0 likes · 34 min read
Master Regular Expressions in Shell: Practical sed & gawk Guide
Test Development Learning Exchange
Test Development Learning Exchange
May 18, 2023 · Fundamentals

Three Python 3 Methods for Bulk File Renaming

This article introduces three Python 3 techniques for bulk file renaming—recursive numbering, renaming based on creation timestamps, and using regular expressions—explaining their advantages, providing complete code examples, and guiding readers on adapting the scripts for their own file management needs.

Bulk ProcessingFile RenamingPython
0 likes · 6 min read
Three Python 3 Methods for Bulk File Renaming
IT Services Circle
IT Services Circle
Mar 26, 2023 · Fundamentals

Common Regular Expression Metacharacters and Their Usage in Python

This article explains the most frequently used regular expression symbols in Python, covering ordinary metacharacters, the OR operator, escape sequences, anchors, quantifiers, grouping, and shorthand character classes, each illustrated with clear code examples and explanations.

Pythonmetacharacterspattern-matching
0 likes · 6 min read
Common Regular Expression Metacharacters and Their Usage in Python
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Feb 23, 2023 · Fundamentals

Regular Expressions and Finite Automata: Theory, Performance, and Conversion

The article shows how greedy versus lazy regex patterns can differ dramatically in speed, explains that regular expressions are compiled into finite automata, walks through converting regexes to NFAs, transforming them into DFAs, minimizing those DFAs, and illustrates how backtracking and catastrophic backtracking arise, urging developers to grasp automata theory for writing efficient, reliable patterns.

BacktrackingDFANFA
0 likes · 22 min read
Regular Expressions and Finite Automata: Theory, Performance, and Conversion
Architecture Digest
Architecture Digest
Jan 12, 2023 · Frontend Development

Comprehensive Guide to Regular Expressions in JavaScript

This article provides a thorough introduction to JavaScript regular expressions, covering their definition, syntax, flags, meta‑characters, assertions, RegExp object properties and methods, capturing and non‑capturing groups, named groups, greedy vs. lazy matching, back‑references, and common pitfalls, all illustrated with clear code examples.

Capturing GroupsJavaScriptRegExp
0 likes · 8 min read
Comprehensive Guide to Regular Expressions in JavaScript
Baidu Geek Talk
Baidu Geek Talk
Jan 11, 2023 · Fundamentals

Master JavaScript Regular Expressions: From Basics to Advanced Techniques

This article provides a comprehensive guide to JavaScript regular expressions, covering definition methods, flags, metacharacters, assertions, RegExp object properties and methods, capturing and non‑capturing groups, greedy vs lazy matching, backreferences, and common pitfalls, all illustrated with clear code examples and diagrams.

Coding TipsJavaScriptRegExp
0 likes · 9 min read
Master JavaScript Regular Expressions: From Basics to Advanced Techniques
MaGe Linux Operations
MaGe Linux Operations
Oct 29, 2022 · Backend Development

How to Build a Go Trie for Real‑Time Sensitive Word Filtering

This article demonstrates how to implement a sensitive‑word detection system in Go using a prefix‑tree (Trie), covering brute‑force, regex, and optimized rune‑based methods, plus special‑character filtering, pinyin support, and complete source code examples.

GoText FilteringTrie
0 likes · 19 min read
How to Build a Go Trie for Real‑Time Sensitive Word Filtering
Liangxu Linux
Liangxu Linux
Sep 25, 2022 · Fundamentals

Essential Regular Expressions for Common Data Validation

A comprehensive collection of regular expressions for validating numbers, characters, emails, URLs, phone numbers, dates, IP addresses, and other common data formats, presented with clear descriptions and ready-to-use patterns for developers.

data validationpattern-matchingregex
0 likes · 16 min read
Essential Regular Expressions for Common Data Validation
政采云技术
政采云技术
Aug 16, 2022 · Fundamentals

Comprehensive Guide to Regular Expressions in JavaScript

This article provides a thorough tutorial on regular expressions, covering their history, fundamental concepts like quantifiers and character classes, debugging tools, advanced techniques such as lazy versus greedy matching and assertions, JavaScript RegExp methods, compatibility considerations, and practical code examples for common validation patterns.

JavaScriptfrontendpattern-matching
0 likes · 17 min read
Comprehensive Guide to Regular Expressions in JavaScript
DataFunSummit
DataFunSummit
Jun 11, 2022 · Artificial Intelligence

Transforming Regular Expressions into Neural Networks for Text Classification and Slot Filling

This article explains how regular expressions can be converted into equivalent neural network models—FA‑RNN for classification and FST‑RNN for slot filling—by leveraging finite‑state automata, tensor decomposition, and pretrained word embeddings, achieving zero‑shot performance and strong results in low‑resource scenarios.

FA-RNNNeural Networksregular expressions
0 likes · 17 min read
Transforming Regular Expressions into Neural Networks for Text Classification and Slot Filling
MaGe Linux Operations
MaGe Linux Operations
May 10, 2022 · Information Security

How Evil Regex Can Cripple Your Server: Understanding ReDoS Attacks

This article explains how maliciously crafted regular expressions can cause catastrophic backtracking, leading to Regular Expression Denial of Service (ReDoS) attacks, illustrates the problem with code examples, and provides practical mitigation strategies for developers.

Denial of ServiceReDoSregex
0 likes · 9 min read
How Evil Regex Can Cripple Your Server: Understanding ReDoS Attacks
Java Captain
Java Captain
Mar 27, 2022 · Fundamentals

Understanding Regular Expressions in Java: Password Validation Example

This article introduces regular expressions through a Java password‑validation case, compares a manual character‑checking implementation with a concise regex solution, explains regex syntax and meta‑characters, and demonstrates how to apply Pattern.matches for string validation in Java.

codingpassword validationregex
0 likes · 11 min read
Understanding Regular Expressions in Java: Password Validation Example
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Mar 25, 2022 · Fundamentals

Master Regular Expressions: From History to Advanced Patterns

This comprehensive guide walks you through the origins, core concepts, meta‑characters, quantifiers, matching modes, assertions, grouping techniques, and practical JavaScript APIs for using regular expressions in validation, extraction, replacement, and splitting tasks.

frontendpattern-matchingquantifiers
0 likes · 19 min read
Master Regular Expressions: From History to Advanced Patterns
IT Services Circle
IT Services Circle
Mar 9, 2022 · Fundamentals

Learning Regular Expressions through AST Visualization

This article explains how to master regular expressions by visualizing their abstract syntax trees (AST), covering basic patterns, character classes, repetitions, greedy vs. non‑greedy matching, groups, and look‑ahead/look‑behind assertions with clear examples and diagrams.

ASTJavaScriptpattern-matching
0 likes · 11 min read
Learning Regular Expressions through AST Visualization
MaGe Linux Operations
MaGe Linux Operations
Sep 18, 2021 · Backend Development

How to Build a Python Crawler to Grab TV Drama Links Automatically

This article explains how to create a Python web crawler that automatically generates URLs for a drama‑download site, filters out invalid pages, extracts ed2k links using requests and regular expressions, saves them to text files, and employs multithreading to speed up processing, while discussing challenges such as duplicate URLs and filename sanitization.

CrawlerWeb Scrapingmultithreading
0 likes · 7 min read
How to Build a Python Crawler to Grab TV Drama Links Automatically
Top Architect
Top Architect
Jun 25, 2021 · Fundamentals

Comprehensive Collection of Regular Expressions for Data Validation

This article provides an extensive set of regular expression patterns for validating numbers, characters, and special formats such as email, URLs, phone numbers, dates, IP addresses, and more, offering developers ready-to-use solutions for common data validation tasks across various programming contexts.

Backenddata validationprogramming
0 likes · 15 min read
Comprehensive Collection of Regular Expressions for Data Validation
Open Source Linux
Open Source Linux
Jun 15, 2021 · Fundamentals

Mastering Regex: Essential Patterns for Numbers, Text, and Special Formats

This guide compiles a comprehensive set of regular expression patterns for validating numbers, characters, emails, URLs, phone numbers, IP addresses, dates, and other special formats, providing ready-to-use code snippets that developers can apply across various programming contexts.

data validationpattern-matchingregex
0 likes · 15 min read
Mastering Regex: Essential Patterns for Numbers, Text, and Special Formats
Open Source Linux
Open Source Linux
May 13, 2021 · Fundamentals

Mastering Regex: Essential Patterns for Numbers, Text, and Special Formats

This article compiles a comprehensive collection of regular expression patterns for validating numeric values, character strings, and various special formats such as emails, URLs, phone numbers, dates, IP addresses, and more, providing ready‑to‑use code snippets for developers.

input validationpattern libraryregex
0 likes · 16 min read
Mastering Regex: Essential Patterns for Numbers, Text, and Special Formats
Python Programming Learning Circle
Python Programming Learning Circle
Apr 26, 2021 · Fundamentals

Python Regular Expressions (re Module) – Concepts, Syntax, and Common Functions

This article explains Python regular expressions, covering basic and special characters, non‑print escapes, quantifier types, the re module’s compile function with flags, and the most frequently used pattern‑object methods such as match, search, findall, finditer, split, sub and subn, plus practical usage notes.

Pythonpattern-matchingre module
0 likes · 12 min read
Python Regular Expressions (re Module) – Concepts, Syntax, and Common Functions
FunTester
FunTester
Feb 10, 2021 · Fundamentals

How to Find the Longest Consecutive 1s in a Binary String Using Java

This article explains several Java techniques—including a simple loop, String.split, and regular‑expression approaches—to compute the maximum number of consecutive '1' characters in a binary string, and even extends the method to handle mixed‑character inputs.

Code ExampleString processingalgorithm
0 likes · 6 min read
How to Find the Longest Consecutive 1s in a Binary String Using Java
Liangxu Linux
Liangxu Linux
Jan 31, 2021 · Fundamentals

Mastering sed: Essential Commands and Real-World Examples for Text Processing

This guide introduces the stream editor sed, explains its working principle, basic syntax, regular‑expression fundamentals, address selection, and common sub‑commands such as substitute, append, insert, delete, and more, while providing practical examples and exercises to help readers efficiently manipulate text in Linux environments.

regular expressionssedtext processing
0 likes · 14 min read
Mastering sed: Essential Commands and Real-World Examples for Text Processing
ITPUB
ITPUB
Jan 26, 2021 · Databases

Master MySQL Transactions, Locks, and Advanced SQL Techniques

This guide walks through MySQL's advanced features, covering lock types, transaction control commands, autocommit handling, savepoints, SQL mode configuration, regular expression usage, common SQL tricks, and a comprehensive overview of built‑in functions with practical code examples.

LocksSQL ModeTransactions
0 likes · 25 min read
Master MySQL Transactions, Locks, and Advanced SQL Techniques
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 26, 2021 · Databases

Advanced MySQL Topics: Transaction Control, Locking, SQL Mode, Regular Expressions, and Common Functions

This article provides a comprehensive guide to advanced MySQL concepts, covering transaction control, various lock levels, lock and unlock statements, autocommit settings, savepoints, SQL security issues, SQL mode configurations, regular expression usage, and a collection of useful string, numeric, date‑time, and flow functions with practical examples.

SQL Modefunctionsmysql
0 likes · 23 min read
Advanced MySQL Topics: Transaction Control, Locking, SQL Mode, Regular Expressions, and Common Functions
Efficient Ops
Efficient Ops
Jan 18, 2021 · Fundamentals

Mastering Regular Expressions: Essential Rules and Advanced Techniques

This comprehensive guide explains what regular expressions are, outlines basic syntax, character classes, quantifiers, anchors, grouping, backreferences, lookahead/lookbehind assertions, and advanced options, providing practical examples to help developers validate, search, and manipulate strings effectively.

pattern-matchingprogramming fundamentalsregex
0 likes · 11 min read
Mastering Regular Expressions: Essential Rules and Advanced Techniques
FunTester
FunTester
Nov 11, 2020 · Artificial Intelligence

Unlocking NLP: From the Turing Test to Word Embeddings and Beyond

This article provides a comprehensive overview of natural language processing, tracing its origins from Turing's seminal test to modern techniques like regular expressions, word order importance, word embeddings, Word2vec, GloVe, and knowledge‑ and retrieval‑based chatbot methods.

GloVeKnowledge GraphsNLP
0 likes · 15 min read
Unlocking NLP: From the Turing Test to Word Embeddings and Beyond
DataFunTalk
DataFunTalk
Sep 15, 2020 · Information Security

Optimizing Regular Expression Engines for High‑Performance Deep Packet Inspection

This article presents a series of algorithmic innovations—including efficient NFA construction, reduced epsilon‑transitions, prefix/suffix optimizations, fast NFA‑to‑DFA conversion, space‑compressed automata, hybrid finite automata, and large‑scale regex matching techniques—designed to improve regular‑expression matching speed and memory usage in deep packet inspection systems.

Algorithm OptimizationDFANFA
0 likes · 27 min read
Optimizing Regular Expression Engines for High‑Performance Deep Packet Inspection
Laravel Tech Community
Laravel Tech Community
Jun 7, 2020 · Backend Development

Using PHP split() to Split Strings with Regular Expressions

This article explains the PHP split() function, its syntax, behavior with optional limits, and provides two practical examples showing how to split colon‑separated and date strings using regular‑expression patterns, along with the resulting outputs.

backend-developmentregular expressionssplit-function
0 likes · 3 min read
Using PHP split() to Split Strings with Regular Expressions
Python Crawling & Data Mining
Python Crawling & Data Mining
Apr 18, 2020 · Backend Development

How to Scrape and Extract Proxy Data with Python: Step-by-Step Guide

This tutorial walks through analyzing a proxy‑listing website’s structure, building a Python scraper using requests, Scrapy, regular expressions and BeautifulSoup, extracting IP, port, location and type fields across multiple pages, and saving the collected data to files, illustrating key web‑crawling techniques.

ProxyPythonScrapy
0 likes · 6 min read
How to Scrape and Extract Proxy Data with Python: Step-by-Step Guide
DevOps Engineer
DevOps Engineer
Apr 8, 2020 · Fundamentals

What Is a Regular Expression? A Comprehensive Guide

This article explains regular expressions, covering their definition, basic matching, metacharacters, character sets, quantifiers, grouping, alternation, escaping, anchors, zero‑width assertions, flags, and greedy versus lazy matching, with clear examples and online practice links.

pattern-matchingprogramming fundamentalsregex
0 likes · 21 min read
What Is a Regular Expression? A Comprehensive Guide
360 Quality & Efficiency
360 Quality & Efficiency
Feb 12, 2020 · Fundamentals

Common Regular Expressions and Their Syntax

This article introduces the fundamentals of regular expressions, explains their components, syntax rules such as quantifiers and anchors, and provides a collection of frequently used regex patterns for tasks like email validation, ID numbers, dates, IP addresses, and URLs.

pattern syntaxregexregular expressions
0 likes · 5 min read
Common Regular Expressions and Their Syntax
Java Captain
Java Captain
Feb 1, 2020 · Fundamentals

A Beginner's Guide to Regular Expressions: Basics, Advanced Features, and Practical Code Samples

This article provides a clear, step‑by‑step tutorial on regular expressions—covering fundamental metacharacters, quantifiers, grouping, alternation, character classes, assertions, capturing, back‑references, greedy vs. lazy matching, and includes runnable code snippets in Java and JavaScript for common validation tasks.

JavaScriptTutorialjava
0 likes · 20 min read
A Beginner's Guide to Regular Expressions: Basics, Advanced Features, and Practical Code Samples
WecTeam
WecTeam
Oct 17, 2019 · Fundamentals

How to Build a Simple HTML AST Parser in JavaScript

This article explains how to transform raw HTML strings into a structured abstract syntax tree (AST) using JavaScript regular expressions and a step‑by‑step parsing algorithm, covering tag, attribute, and text node handling, with a complete example implementation of a lightweight AST parser.

ASTJavaScriptcompiler fundamentals
0 likes · 16 min read
How to Build a Simple HTML AST Parser in JavaScript
Liangxu Linux
Liangxu Linux
Aug 22, 2019 · Fundamentals

Learn Regex Fast: Free 2.4k‑Star GitHub Tutorial with Interactive Exercises

This article introduces the popular learn‑regex GitHub project—a 24 000‑star, Chinese‑localized tutorial that covers regex fundamentals, meta‑characters, and provides online practice via regex101.com, helping programmers quickly master regular expressions across languages.

learn-regexonline practiceregex
0 likes · 4 min read
Learn Regex Fast: Free 2.4k‑Star GitHub Tutorial with Interactive Exercises
Efficient Ops
Efficient Ops
Jul 15, 2019 · Fundamentals

Mastering Regular Expressions: Essential Rules and Advanced Techniques

This article provides a comprehensive guide to regular expressions, covering basic concepts, character classes, quantifiers, special symbols, greedy vs. lazy matching, backreferences, lookahead/lookbehind assertions, and practical tips for writing robust patterns in programming.

pattern-matchingprogramming fundamentalsregex
0 likes · 11 min read
Mastering Regular Expressions: Essential Rules and Advanced Techniques
MaGe Linux Operations
MaGe Linux Operations
Apr 12, 2019 · Fundamentals

Mastering grep: Powerful Search Techniques and Regular Expressions

This guide explains how to use the Unix grep family—including grep, egrep, and fgrep—to perform global text searches with regular expressions, showing common options, color highlighting, recursive searches, character classes, anchors, quantifiers, and extended patterns through clear examples.

Grepcommand-lineregular expressions
0 likes · 15 min read
Mastering grep: Powerful Search Techniques and Regular Expressions
MaGe Linux Operations
MaGe Linux Operations
Mar 17, 2019 · Fundamentals

Master Linux Regular Expressions: Essential Metacharacters and Practical Examples

This article introduces Linux regular expressions, explains the two types of metacharacters—shell and regex—shows how to enable colored output with grep, provides a sample test file, and demonstrates numerous practical pattern-matching examples ranging from simple word searches to complex character class and repetition constructs.

GrepLinuxShell scripting
0 likes · 5 min read
Master Linux Regular Expressions: Essential Metacharacters and Practical Examples
21CTO
21CTO
Feb 16, 2019 · Fundamentals

Mastering Regular Expressions: Numbers, Emails, Phone Numbers & HTML

This tutorial walks you through building and testing regular expressions for common patterns such as floating‑point numbers, optional fractions, exponents, phone numbers, email addresses, and simple HTML tags, explaining each step and showing practical examples.

pattern-matchingregexregular expressions
0 likes · 8 min read
Mastering Regular Expressions: Numbers, Emails, Phone Numbers & HTML
MaGe Linux Operations
MaGe Linux Operations
Jan 13, 2019 · Fundamentals

20 Essential Regular Expressions for Common Validation Tasks

This article presents a curated collection of twenty practical regular expressions covering password strength, Chinese characters, alphanumeric strings, email, ID numbers, dates, monetary values, phone numbers, browser versions, IP addresses, URLs, file paths, color codes, images, links, CSS properties, comments, and HTML tags, each illustrated with examples and images.

regex patternsregular expressionsstring-validation
0 likes · 6 min read
20 Essential Regular Expressions for Common Validation Tasks
MaGe Linux Operations
MaGe Linux Operations
Dec 27, 2018 · Fundamentals

Master Python Regular Expressions: Syntax, Flags, and Practical Usage

This article provides a comprehensive guide to Python regular expressions, covering regex syntax, character classes, quantifiers, groups, assertions, conditional matches, flags, the re module’s core functions, match object methods, and practical examples for effective pattern matching.

Pythonpattern-matchingre module
0 likes · 13 min read
Master Python Regular Expressions: Syntax, Flags, and Practical Usage
MaGe Linux Operations
MaGe Linux Operations
Dec 1, 2018 · Backend Development

How to Scrape Baidu Tieba Images with Python and Save Locally

Learn step-by-step how to use Python's urllib and regular expressions to fetch Baidu Tieba web pages, extract image URLs, and download the images to your local machine, including code examples for getHtml and getImg functions and file naming conventions.

regular expressionsurllib
0 likes · 3 min read
How to Scrape Baidu Tieba Images with Python and Save Locally
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 9, 2018 · Fundamentals

Master Python Regex Brackets: 8 Practical Examples Explained

This article explains Python’s regular expression bracket syntax, demonstrating eight practical examples—from simple character sets to negated classes and range patterns—while showing expected matches and non‑matches, helping readers master regex bracket usage for tasks like phone number validation.

Pythonregular expressions
0 likes · 7 min read
Master Python Regex Brackets: 8 Practical Examples Explained
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 1, 2018 · Fundamentals

Master Python Regex: Unlock $ and ? for Precise String Matching

This article explains Python regular expression special characters such as $ and ?, demonstrates greedy and non‑greedy matching with step‑by‑step examples and screenshots, and shows how to extract substrings correctly using appropriate patterns, helping readers master precise string extraction for web crawling.

Pythongreedynon-greedy
0 likes · 6 min read
Master Python Regex: Unlock $ and ? for Precise String Matching
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 1, 2018 · Fundamentals

Master Python Regex: When '+' Beats '*' for Precise Matching

This article explains how Python’s regex quantifiers '+' and '*' differ, demonstrating with step‑by‑step examples how '+' requires at least one occurrence of the preceding character, while '*' allows zero or more, and shows the resulting matches through clear screenshots.

Pythonpattern-matchingquantifiers
0 likes · 4 min read
Master Python Regex: When '+' Beats '*' for Precise Matching
Liangxu Linux
Liangxu Linux
Sep 28, 2018 · Fundamentals

Master Linux Regex: Practical grep Examples and Patterns

This guide explains Linux regular expressions, distinguishes shell and regex meta‑characters, shows how to enable colored grep output, creates a sample text file, and provides dozens of concrete grep/egrep commands with explanations and results for common pattern‑matching tasks.

Shellcommand-lineregex
0 likes · 10 min read
Master Linux Regex: Practical grep Examples and Patterns
Java Captain
Java Captain
Sep 27, 2018 · Fundamentals

A Beginner's Guide to Regular Expressions: Basics and Advanced Topics

This tutorial introduces regular expressions across programming languages, covering fundamental metacharacters, quantifiers, grouping, alternation, character classes, assertions, capturing, backreferences, greedy vs. lazy matching, and provides practical Java code examples for common validation tasks.

coding tutorialjavapattern-matching
0 likes · 17 min read
A Beginner's Guide to Regular Expressions: Basics and Advanced Topics
Efficient Ops
Efficient Ops
Jun 26, 2018 · Fundamentals

Why a Simple Regex Can Crash Your CPU: Understanding NFA Backtracking

The article examines a Java URL‑validation regex that caused near‑100% CPU usage, explains how Java's NFA engine and backtracking lead to catastrophic performance, and shows how to rewrite the pattern with possessive quantifiers and proper character classes to eliminate the issue.

BacktrackingNFAjava
0 likes · 12 min read
Why a Simple Regex Can Crash Your CPU: Understanding NFA Backtracking
Tencent Cloud Developer
Tencent Cloud Developer
Jun 19, 2018 · Backend Development

Understanding Catastrophic Backtracking in Java Regular Expressions and How to Fix It

During a production incident a Java service’s URL‑validation regex caused near‑100 % CPU due to catastrophic backtracking from a greedy domain pattern, which was fixed by adding missing characters to the final class and converting the domain part to a possessive or atomic quantifier, preventing exponential matching.

BacktrackingNFAjava
0 likes · 13 min read
Understanding Catastrophic Backtracking in Java Regular Expressions and How to Fix It
MaGe Linux Operations
MaGe Linux Operations
Feb 8, 2018 · Frontend Development

Essential Regular Expressions for Data Validation in Development

This article compiles a comprehensive set of commonly used regular expressions for validating numbers, characters, and special data formats such as emails, URLs, phone numbers, and monetary values, providing developers with a handy reference to streamline input validation tasks.

frontendregular expressionsvalidation
0 likes · 11 min read
Essential Regular Expressions for Data Validation in Development
MaGe Linux Operations
MaGe Linux Operations
Dec 9, 2017 · Fundamentals

Mastering Awk: From Basics to Advanced Text Processing

This comprehensive guide introduces Awk, explains its command‑line syntax, script structure, patterns, built‑in variables, arrays, functions, operators, statements, I/O handling, and practical examples, enabling readers to harness Awk for powerful text processing tasks on Unix-like systems.

Shell scriptingUnixawk
0 likes · 31 min read
Mastering Awk: From Basics to Advanced Text Processing
MaGe Linux Operations
MaGe Linux Operations
Sep 12, 2017 · Fundamentals

20 Essential Regular Expressions for Everyday Validation Tasks

This article presents a curated collection of twenty practical regular expressions covering password strength, Chinese characters, alphanumeric strings, email, ID numbers, dates, monetary values, phone numbers, browser versions, IP addresses, URLs, file paths, color codes, image extraction, hyperlink extraction, CSS properties, comments, and HTML tags, each illustrated with clear examples to boost development efficiency.

data validationregex patternsregular expressions
0 likes · 6 min read
20 Essential Regular Expressions for Everyday Validation Tasks
Programmer DD
Programmer DD
Aug 2, 2017 · Fundamentals

Mastering Regex: How to Build Precise and Efficient Regular Expressions

This article explains how to construct regular expressions that balance matching expected strings, avoiding false matches, maintaining readability, and achieving performance, while covering when to use regex, practical JavaScript examples, accuracy techniques for phone numbers and floats, and key optimization strategies.

JavaScriptaccuracyoptimization
0 likes · 12 min read
Mastering Regex: How to Build Precise and Efficient Regular Expressions
Programmer DD
Programmer DD
Aug 1, 2017 · Frontend Development

Master Regex Splitting: Break Down Complex Patterns with Confidence

This article explains how to dissect JavaScript regular expressions into their structural components, covering operators, precedence, common pitfalls, and practical examples such as ID card and IPv4 validation, enabling readers to read and write regexes more reliably.

operatorspattern splittingregex
0 likes · 10 min read
Master Regex Splitting: Break Down Complex Patterns with Confidence
21CTO
21CTO
Jul 2, 2017 · Fundamentals

Essential Regex Cheat Sheet: 20 Common Validation Patterns for Developers

This cheat sheet compiles twenty practical regular‑expression patterns—including date, password, email, ID, IP, URL, and HTML validation examples—along with JavaScript snippets, giving developers a quick reference to boost input‑checking efficiency across front‑end and back‑end projects.

BackendJavaScriptfrontend
0 likes · 8 min read
Essential Regex Cheat Sheet: 20 Common Validation Patterns for Developers
MaGe Linux Operations
MaGe Linux Operations
Mar 25, 2017 · Fundamentals

Master Python Regex: From Basics to Powerful Web Scraping Techniques

This article explains the fundamentals of regular expressions in Python, covering core concepts, greedy vs. non‑greedy quantifiers, backslash handling with raw strings, and a detailed walkthrough of the re module’s functions such as compile, match, search, split, findall, finditer, sub and subn, illustrated with code examples and diagrams.

Pythonre moduleregular expressions
0 likes · 10 min read
Master Python Regex: From Basics to Powerful Web Scraping Techniques