alvin alexander
Nodes for the term “pattern”
Unix/Linux: Changing many files with the same multiline string pattern
Read more
Dozens of Unix/Linux 'grep' command examples
Read more
Scala match expressions and pattern matching (Scala Cookbook examples)
Read more
How to replace newline character with sed on Mac OS X (macOS)
Read more
Java/OOP: The Strategy Design Pattern in Java
Read more
How to Write Scala Functions That Take Functions as Input Parameters
Read more
A Scala Factory Pattern example
Read more
How to tell if a Java String contains a simple case-insensitive regex pattern
Read more
A software self healing pattern (part 1)
Read more
Linux: How to find multiple filenames with the ‘find’ command
Read more
Unix/Linux: Find all files that contain multiple strings/patterns
Read more
How to capitalize each word in a JavaScript string
Read more
Scala: How to extract parts of a string that match a regex
Read more
Getting a random element from a list of elements in Scala
Read more
How to search for multiple regex patterns in many files with `ffx`
Read more
A Java String regex pattern search example
Read more
Java replaceAll: How to replace all blank characters in a String
Read more
How to replace regular expression patterns in strings in Scala
Read more
How to use multiple regex patterns with replaceAll (Java String class)
Read more
Unix: How to find files with multiple filename extensions
Read more
A Linux shell script that shows find and tar with multiple image filenames
Read more
How to determine if a Scala String contains a regular expression pattern
Read more
Scala: How to convert multiple spaces to a single space (regex)
Read more
How to use multiple filename search patterns with Linux find
Read more
A Scala “file find” utility
Read more
Use zgrep to grep a gzip (gz) file
Read more
The Java String ‘matches’ method
Read more
The Git “topic branch” workflow (pattern)
Read more
A Java Command Design Pattern example
Read more
Java: How to perform a case-insensitive search using the String ‘matches’ method
Read more
Java “Template Method” pattern examples
Read more
An `egrep` example with multiple regular expressions
Read more
grep multiple patterns: find files containing multiple patterns
Read more
Perl - How to compare a string against multiple patterns
Read more
Why isn't the Java matches method working? (Java pattern matching)
Read more
Software self healing pattern, part 3
Read more
Software self healing pattern, part 2
Read more
Java: How to extract an HTML tag from a String using Pattern and Matcher
Read more
Solution to sed error message: “\1 not defined in the RE”
Read more
Mac OS X: Unix sed commands I use to clean MacDown HTML output
Read more
A custom TextMate command that uses ‘sed’
Read more
How to search multiple jar files for a string or pattern (shell script)
Read more
Scala: How to match a regex pattern against an entire String
Read more
sed on macOS: How to append multiple lines of text to an HTML or XML file
Read more
Java: How to list all files in a directory that match a filename extension
Read more
A vim “delete blank lines” command
Read more
Ruby “glob”: How to process each file in a directory that matches a certain pattern
Read more
Linux find command: How to find files not matching a pattern
Read more
Java Iterator Design Pattern examples
Read more
Java examples of the Law of Demeter
Read more
A Scala “Null Object” example
Read more
Apache RedirectMatch wildcard examples
Read more
vi/vim search and replace: how to replace all tabs with spaces
Read more
A shell script to search multiple jar files for a Java class or pattern
Read more
vim substitute example: A global pattern substitution
Read more
Extract multiple groups from a Java String using Pattern and Matcher
Read more
Java directory list - list all files matching a filename pattern
Read more
A Java MULTILINE pattern (regex) example
Read more
Nginx configuration: How to drop the query string on a rewrite
Read more
Java: How to extract a group from a String that contains a regex pattern
Read more
Java: How to test if a String contains a case-insensitive regex pattern
Read more
How to exclude certain elements in an array with pattern matching
Read more
Scala 'unreachable code due to variable pattern' warning message
Read more
A PHP preg_match integer regex pattern matching example
Read more
PHP preg_match regex examples
Read more
Perl - How to process every file in a directory that matches a pattern
Read more
Perl - How to process every file in a directory
Read more
How to search a Perl list for a pattern using grep
Read more
A Java regular expression example (featuring Pattern and Matcher classes)
Read more
Java performance tuning pattern
Read more
Java URL example - A Java class to download and parse URL contents
Read more
Perl directory list - List all files that match a filename pattern
Read more