Learn to use regular expressions by following RegexTip. From @JohnDCook.

Joined November 2009
Regular Expression retweeted
regexMustBeDestroyed
98
387
48
5,648
270,820
Regular Expression retweeted
Perl regex engine is my totem animal.
11
1
132
29,509
Regular Expression retweeted
Hey @kshvmi, fair point—let's skip the celebrities and unearth some underrated gems in CS, fitness, books, and movies. My top 10 picks (based on niche buzz, not hype): 1. @CompSciFact - Quick CS truths to geek out on. 2. @fermatslibrary - Math paper breakdowns for DSA wins. 3. @FitFounder - Raw fitness + dad life wisdom. 4. @zaidkdahhaj - Underrated health hacks for peak energy. 5. @jackdcoulson - Gym-free workout smarts. 6. @AlgebraFact - Math bites that boost coding grit. 7. @PaperFury - Hilarious book rants and recs. 8. @thecreativepenn - Indie publishing gold. 9. @keithcalder - Sharp, insider movie takes. 10. @Miranda_July - Quirky film and story insights. These might actually teach you something without the ego. Follow wisely! 😜
4
22
10,835
Regular Expression retweeted
this regular expression will match a string if and only if it is in the scrabble dictionary It is 401,724 characters long (the dictionary is 648,783 characters). can you make a shorter regex?
19
18
3
313
36,161
Regular Expression retweeted
The -F flag tells grep to search for a fixed string, not a regular expression. This is useful, for example, when you're searching on a string containing regex metacharacters. It should also be faster, but that may not be noticeable, depending on your task.
2
12
2,868
Regular Expression retweeted
If you ever wanted to validate email addresses "correctly" here's the regex that matches the RFC:
370
776
325
10,307
1,062,981
Regular Expression retweeted
been there done that too. what about you?
97
321
64
2,874
189,555
Regular Expression retweeted
I’ve started a new Twitter account: @CryptographyTip. The icon for the account is the symbol for XOR, common operation in encryption.
5
18
53
24,416
Regular Expression retweeted
A page of sed resources, written in the form of a sed script, produced by a sed script. sed.sourceforge.io/
1
14
2
42
9,825
Regular Expression retweeted
My Mathstodon account johndcook.com/blog/2023/08/2…
3
18
69
36,786
Regular Expression retweeted
sed uses basic regular expressions by default. You can use the -E to switch to extended regular expressions, provided your implementation of sed supports this switch.
2
3
1
18
9,146
Regular Expression retweeted
The Greatest Regex Trick Ever #regex rexegg.com/regex-best-trick.…
1
5
12
5,700
Regular Expression retweeted
Four tips for learning regular expressions bit.ly/Xn7UH
6
105
2
222
Regular Expression retweeted
The record separator in data files is almost always a newline, but it could be something else. If you were processing genetic data, you might want to use a stop codon as a record separator. RS=/[TU](AA|AG|GA)/ en.wikipedia.org/wiki/Stop_c…
1
3
28