Remplacement par regex
Find and replace text using regular expressions. Gratuit, privé, 100% côté client.
Local only
Historique récent
Aucun historique
Tâches utilisant cet outil
Déboguer regex motifs étape par étape
Déboguer regex par testing against sample inputs, visualizing le correspondre, et understanding pourquoi un motif matches ou fails. Utiliser flags correctly. TÂCHE
Extraire all URLs from a block of text
Trouver chaque URL (http, https, ftp) en unstructured texte et list them pour validation, deduplication, ou batch processing. TÂCHE
Extraire hashtags from text
Hashtags démarrer avec # followed par letters, nombres, et underscores. Apprendre en extraire, valider, et normaliser hashtags de social media texte. TÂCHE
Extraire @mentions from text
Mentions démarrer avec @ followed par un username. Apprendre en extraire mentions, valider usernames, et link them en utilisateur profiles. TÂCHE
Trouver et remplacer texte utilisant un regular expression
Search pour motifs (non juste literal chaînes) en texte et remplacer matches avec un template ce peut référence capture groups. TÂCHE
Optimiser regex pour performance
Lent regex peut cause ReDoS (Regular Expression Denial de Service). Apprendre en identifier et fix catastrophic backtracking, utiliser atomic groups, et anchor motifs. TÂCHE
Prévenir SQL Injection (SQLi) attacks
SQLi injects malicious SQL à travers utilisateur entrée. Apprendre parameterized queries, entrée validation, et le principe de least privilege. TÂCHE
Supprimer stop words from text
Arrêter mots sont commun mots (le, est, at, qui) ce ajouter little meaning. Removing them improves search et NLP efficiency. TÂCHE
Trier lines and remove duplicates
Prendre un list de items (one per ligne), trier them alphabetically ou naturally, et supprimer doublon lignes. TÂCHE
Stem mots en leurs root form
Stemming reduces mots en leurs stem (exécutant → exécuter, better → bet). Apprendre Porter stemmer et quand en utiliser lemmatization instead. TÂCHE
Tester un regular expression avant shipping it
Valider pattern syntax, inspect every match with capture groups, and learn the backtracking pitfalls that turn a regex into an outage. TÂCHE
Implement plein-texte search en SQL
Plein-texte search indexes mots en texte pour rapide searching. Apprendre en utiliser FULLTEXT indexes, tsvector, et ranking. TÂCHE
Utiliser regex backreferences
Backreferences \1, \2, ... correspondre le même texte comme un précédent capturing group. Useful pour matching repeated mots, paired delimiters, et palindromes. TÂCHE
Utiliser regex caractère classes effectively
Caractère classes [...] correspondre any one caractère de un définir. Apprendre ranges, negation, shorthand classes, et escaping règles. TÂCHE
Utiliser regex capturing et non-capturing groups
Groups (...) capture submatches pour backreferences et extraction. Non-capturing (?:...) group sans capturing. Named groups (?<name>...) improve readability. TÂCHE
Utiliser regex lookahead assertions
Lookahead (?=...) et (?!...) assert quoi follows (ou doesn't follow) le actuel position sans consuming caractères. Zero-largeur assertions. TÂCHE
Utiliser regex lookbehind assertions
Lookbehind (?<=...) et (?<!...) assert quoi precedes le actuel position. Supported en moderne engines (ES2018+, Java, .NET, PCRE). TÂCHE
Utiliser regex quantifiers: *, +, ?, {n,m}
Quantifiers specify comment plusieurs times un motif repeats. Apprendre greedy, lazy, et possessive matching en avoid catastrophic backtracking. TÂCHE
Write un robust email validation regex
Email validation regex est notoriously complexe due en RFC 5322. Apprendre practical motifs pour commun utiliser cases et leurs limitations. TÂCHE
Write phone nombre validation regex
Phone nombres vary wildly par country. Apprendre practical regex motifs pour commun formats et pourquoi un phone library est souvent better. TÂCHE
Pipelines utilisant cet outil
Outils associés
Testeur de regex
Test regular expressions with match highlighting, capture groups, and replace preview. Gratuit, privé et 100% côté client. OUTIL
Aperçu d'image Base64
Preview Base64 image and show metadata. Gratuit, privé, 100% côté client. OUTIL
Convertisseur de casse
Convert text between upper, lower, title, camel, pascal, snake, kebab, constant, and sentence cases. Gratuit, privé et 100% côté client. OUTIL