Tagged articles
21 articles
Page 1 of 1
php Courses
php Courses
Nov 20, 2025 · Backend Development

Master PHP’s preg_match: Simple Regex and Email Validation

This guide explains how to use PHP’s preg_match function for basic string matching, demonstrates common regex patterns such as character ranges and quantifiers, and provides a detailed example for validating email addresses, helping developers apply regular expressions effectively in their backend code.

email-validationpreg_matchregex
0 likes · 3 min read
Master PHP’s preg_match: Simple Regex and Email Validation
IT Services Circle
IT Services Circle
Oct 15, 2025 · Fundamentals

Master Fuzzy String Matching in Python with fuzzywuzzy: A Practical Guide

Learn how to efficiently clean and deduplicate textual data using Python's fuzzywuzzy library, covering Levenshtein distance fundamentals, installation, three core matching functions, advanced process extraction, and real-world code examples for handling messy Chinese strings and standardizing company names.

LevenshteinPythondata cleaning
0 likes · 7 min read
Master Fuzzy String Matching in Python with fuzzywuzzy: A Practical Guide
php Courses
php Courses
Feb 28, 2024 · Backend Development

Using PHP preg_match for Regular Expression Matching

This article introduces PHP's preg_match function, demonstrates simple and complex regular expression examples—including string and email matching—and explains common regex patterns, showing how to perform powerful and flexible text matching in backend development.

preg_matchregexstring-matching
0 likes · 4 min read
Using PHP preg_match for Regular Expression Matching
Python Programming Learning Circle
Python Programming Learning Circle
Feb 4, 2024 · Fundamentals

Using FuzzyWuzzy for Fuzzy String Matching in Python

This article introduces the FuzzyWuzzy Python library, explains its Levenshtein‑based matching functions (Ratio, Partial Ratio, Token Sort Ratio, Token Set Ratio) and the process module, and demonstrates practical applications for fuzzy matching of company and province names with complete code examples.

Levenshtein distancePythondata cleaning
0 likes · 10 min read
Using FuzzyWuzzy for Fuzzy String Matching in Python
Python Programming Learning Circle
Python Programming Learning Circle
Jun 7, 2023 · Fundamentals

Using FuzzyWuzzy for Fuzzy String Matching in Python

This article introduces the FuzzyWuzzy Python library, explains its Levenshtein‑based matching functions such as Ratio, Partial Ratio, Token Sort Ratio and Token Set Ratio, demonstrates how to install it, and provides practical code examples for merging company and province fields with fuzzy matching thresholds.

data cleaningpandasstring-matching
0 likes · 10 min read
Using FuzzyWuzzy for Fuzzy String Matching in Python
Python Programming Learning Circle
Python Programming Learning Circle
Apr 29, 2022 · Fundamentals

Using FuzzyWuzzy for Fuzzy String Matching in Python

This tutorial explains how to use the Python FuzzyWuzzy library, which relies on Levenshtein distance, to perform fuzzy string matching for tasks such as normalizing province or company names, and provides complete code examples and practical applications.

Levenshteindata cleaningfuzzy-matching
0 likes · 10 min read
Using FuzzyWuzzy for Fuzzy String Matching in Python
JD Tech
JD Tech
Apr 1, 2022 · Fundamentals

Advanced Matching Algorithms and Graph Data Structures: KMP, Rabin‑Karp, Boyer‑Moore, Trie, Double‑Array Trie, and AC Automaton

This article introduces common graph concepts and several advanced string‑matching algorithms—including Brute‑Force, Rabin‑Karp, KMP, Boyer‑Moore, AC automaton, Trie, and Double‑Array Trie—explaining their principles, implementations, complexity analyses, and typical application scenarios for search systems.

AlgorithmsKMPTrie
0 likes · 20 min read
Advanced Matching Algorithms and Graph Data Structures: KMP, Rabin‑Karp, Boyer‑Moore, Trie, Double‑Array Trie, and AC Automaton
Sohu Tech Products
Sohu Tech Products
Apr 15, 2020 · Fundamentals

Optimized String Matching: Boyer‑Moore Algorithm with Bad‑Character and Good‑Suffix Rules

This article explains the Boyer‑Moore string‑matching algorithm, detailing how the bad‑character and good‑suffix heuristics dramatically reduce comparisons, and provides a complete Java implementation with step‑by‑step illustrations of each matching round and the underlying shift calculations.

Boyer-Moorealgorithmbad character rule
0 likes · 6 min read
Optimized String Matching: Boyer‑Moore Algorithm with Bad‑Character and Good‑Suffix Rules
Sohu Tech Products
Sohu Tech Products
Apr 8, 2020 · Fundamentals

Brute‑Force and Simple Hash‑Based Substring Search (Rabin‑Karp) Explained with Examples

This article explains the brute‑force (BF) substring search algorithm, demonstrates its step‑by‑step operation with examples, then introduces a simple hash‑based sliding‑window method (a basic Rabin‑Karp approach), provides Java code, and shows how to compute and update hashes efficiently to locate a pattern in a main string.

HashRabin-Karpalgorithm
0 likes · 7 min read
Brute‑Force and Simple Hash‑Based Substring Search (Rabin‑Karp) Explained with Examples
Sohu Tech Products
Sohu Tech Products
Mar 25, 2020 · Fundamentals

Understanding Brute‑Force, Boyer‑Moore, and KMP String‑Matching Algorithms with Java Code

This article explains the Brute‑Force (BF), Boyer‑Moore (BM), and Knuth‑Morris‑Pratt (KMP) string‑matching algorithms, illustrates their operation with step‑by‑step visual examples, discusses the inefficiencies of BF, the shift rules of BM, and the prefix‑suffix logic of KMP, and provides a complete Java implementation including the construction of the next array.

Boyer-MooreKMPNext array
0 likes · 10 min read
Understanding Brute‑Force, Boyer‑Moore, and KMP String‑Matching Algorithms with Java Code
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
Python Programming Learning Circle
Python Programming Learning Circle
Feb 9, 2020 · Fundamentals

Understanding Python's re Module and Regular Expressions

This article introduces Python's re module, explaining regular expression fundamentals, key functions such as match, search, compile, sub, findall, finditer, and split, detailing their syntax, parameters, flags, and providing numerous code examples to illustrate pattern matching, searching, replacing, and splitting strings.

re moduleregexstring-matching
0 likes · 17 min read
Understanding Python's re Module and Regular Expressions
Java Captain
Java Captain
May 13, 2019 · Fundamentals

Implementing Sensitive Word Filtering with Trie Trees

This article explains how to use a trie (prefix tree) to efficiently filter sensitive words in a text, covering the basic concepts, construction steps, traversal algorithm, complexity analysis, and a Java implementation using HashMap.

Data StructureSensitive Word FilteringTrie
0 likes · 9 min read
Implementing Sensitive Word Filtering with Trie Trees
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 26, 2018 · Fundamentals

Master Python’s \w and \W: When to Use Each Regex Token

This article explains the meanings and differences of Python regex tokens \w and \W, demonstrates how they match various characters through step‑by‑step examples, and shows why \w fails with symbols like hyphens while \W succeeds, helping readers master practical regex usage.

Pythonregexstring-matching
0 likes · 5 min read
Master Python’s \w and \W: When to Use Each Regex Token