malcolmodd.bsky.social
@malcolmodd.bsky.social
En enlevant les groupes facultatifs au début (pas utile, ils sont facultatifs) et en ajoutant une condition d'avoir un point ou un espace où un début de ligne avant le x, ça donne ceci: /(?:^|\.|\s)(?:x\.com|twitter\.com)
January 23, 2025 at 11:45 AM
Ce regex match tous les sites qui finissent par x (exemple: krapulax.com) - testé à l'aide de regex101.com
regex101: build, test, and debug regex
Regular expression tester with syntax highlighting, explanation, cheat sheet for PHP/PCRE, Python, GO, JavaScript, Java, C#/.NET, Rust.
regex101.com
January 23, 2025 at 10:03 AM