Skip to main content
added 13 characters in body
Source Link
Martin Ender
  • 197.2k
  • 67
  • 447
  • 975

Retina, 24 18 1717 16 bytes

1 byte saved based on an idea in MT0's answer.

T`fkw`__y\wf?k?
y
\byy
He

Try it online!Try it online!

Explanation

T`fkw`__y\wf?k?
y

A simple character substitution (or transliteration): w expands to _0-9A-Za-z, andThis simply turns all letters into _y means "discard", so we removebut if they are followed by an f andor k and then turn all other letters into y we immediately replace that as well. By removing f and k we "normalise" the lengths of the words so that they now all have two more ys than they need.

\byy
He

This turns the first two y of every word into He, completing the transformation.

Retina, 24 18 17 bytes

T`fkw`__y
\byy
He

Try it online!

Explanation

T`fkw`__y

A simple character substitution (or transliteration): w expands to _0-9A-Za-z, and _ means "discard", so we remove f and k and then turn all other letters into y. By removing f and k we "normalise" the lengths of the words so that they now all have two more ys than they need.

\byy
He

This turns the first two y of every word into He, completing the transformation.

Retina, 24 18 17 16 bytes

1 byte saved based on an idea in MT0's answer.

\wf?k?
y
\byy
He

Try it online!

Explanation

\wf?k?
y

This simply turns all letters into y, but if they are followed by an f or k we immediately replace that as well. By removing f and k we "normalise" the lengths of the words so that they now all have two more ys than they need.

\byy
He

This turns the first two y of every word into He, completing the transformation.

added 65 characters in body
Source Link
Martin Ender
  • 197.2k
  • 67
  • 447
  • 975

Retina, 24 18 17 bytes

T`fkw`__y
\byy
He

Try it online!Try it online!

Explanation

T`fkw`__y

A simple character substitution (or transliteration): w expands to _0-9A-Za-z, and _ means "discard", so we remove f and k and then turn all other letters into y. By removing f and k we "normalise" the lengths of the words so that they now all have two more ys than they need.

\byy
He

This turns the first two y of every word into He, completing the transformation.

Retina, 24 18 17 bytes

T`fkw`__y
\byy
He

Try it online!

Explanation

T`fkw`__y

A simple character substitution (or transliteration): w expands to _0-9A-Za-z, and _ means "discard", so we remove f and k and then turn all other letters into y. By removing f and k we "normalise" the lengths of the words so that they now all have two more ys than they need.

\byy
He

This turns the first two y of every word into He, completing the transformation.

Retina, 24 18 17 bytes

T`fkw`__y
\byy
He

Try it online!

Explanation

T`fkw`__y

A simple character substitution (or transliteration): w expands to _0-9A-Za-z, and _ means "discard", so we remove f and k and then turn all other letters into y. By removing f and k we "normalise" the lengths of the words so that they now all have two more ys than they need.

\byy
He

This turns the first two y of every word into He, completing the transformation.

added 35 characters in body
Source Link
Martin Ender
  • 197.2k
  • 67
  • 447
  • 975

Retina, 24 1818 17 bytes

T`l`yT`fkw`__y
Gy|[BW]yy\byy
He

Try it online!Try it online!

Explanation

T`l`yT`fkw`__y

A simple character substitution (or transliteration): lw expands to a_0-9A-Za-z, and _ means "discard", so we replaceremove f and k and then turn all lower caseother letters withinto y. HoweverBy removing f and k we "normalise" the lengths of the words so that gives a fewthey now all have two more ys than wethey need, depending on the word, so we have a second stage:.

Gy|[BW]yy\byy
He

This turns either Gy, Byy orthe first two Wyyy of every word into He, removing the extraneous ys and inserting the start ofcompleting the Heytransformation.

Retina, 24 18 bytes

T`l`y
Gy|[BW]yy
He

Try it online!

Explanation

T`l`y

A simple character substitution (or transliteration): l expands to a-z, so we replace all lower case letters with y. However that gives a few more y than we need, depending on the word, so we have a second stage:

Gy|[BW]yy
He

This turns either Gy, Byy or Wyy into He, removing the extraneous ys and inserting the start of the Hey.

Retina, 24 18 17 bytes

T`fkw`__y
\byy
He

Try it online!

Explanation

T`fkw`__y

A simple character substitution (or transliteration): w expands to _0-9A-Za-z, and _ means "discard", so we remove f and k and then turn all other letters into y. By removing f and k we "normalise" the lengths of the words so that they now all have two more ys than they need.

\byy
He

This turns the first two y of every word into He, completing the transformation.

added 401 characters in body
Source Link
Martin Ender
  • 197.2k
  • 67
  • 447
  • 975
Loading
added 7 characters in body
Source Link
Martin Ender
  • 197.2k
  • 67
  • 447
  • 975
Loading
deleted 2 characters in body; added 3 characters in body
Source Link
Martin Ender
  • 197.2k
  • 67
  • 447
  • 975
Loading
Source Link
Martin Ender
  • 197.2k
  • 67
  • 447
  • 975
Loading