Quote:
Originally Posted by ownedbycats
Take a look at this:
https://regex101.com/r/BgWNVN/1
Note that the regex captures all three examples, but only "Half-Life" is in the capture group. In a regex substitution, \1 simply puts the selected group back in. 
|
Thanks! I've been using some of these codes with no clue why the worked.