When matching a known, fixed, character or string a regex is pointless complexity -- just use:
Regex is for when you have a "pattern" that can vary -- "I want to match a
, followed by any single digit, followed by b
".
When matching a known, fixed, character or string a regex is pointless complexity -- just use:
Regex is for when you have a "pattern" that can vary -- "I want to match a
, followed by any single digit, followed by b
".