Notice removed Reward existing answer by Jonathan Allan
Bounty Ended with Dennis's answer chosen by Jonathan Allan
Bounty Started worth 200 reputation by Jonathan Allan
5 added 72 characters in body

## How to covfefify a string:

### First, get the first sound group (made up terminology).

How do you do this? Well:

• Find the first vowel (y is also a vowel)

  v
creation

• Find the first consonant after that

    v
creation

• Remove the rest of the string

creat


That is your first sound group.

### Next step:

Get the last consonant of the sound group

t


and replace it with the voiced or voiceless version. To do this, find the letter in this table. Replace with the letter given (which may be the same letter)

b: p
c: g
d: t
f: v
g: k
h: h
j: j
k: g
l: l
m: m
n: n
p: b
q: q
r: r
s: z
t: d
v: f
w: w
x: x
z: s


so, we get

d


Then, take the next vowel after that consonant. You can assume that this consonant is not at the end of the string. Join these two together, then repeat it twice:

didi


Concatenate this to the first sound group:

creatdidi


You're done: the string is covfefified, and you can now output it.

Test cases:

coverage: covfefe

example: exxaxa

programming: progkaka (the a is the first vowel after the g, even though it is not immediately after)
code: codtete

president: preszizi


This is , so please make your program as short as possible!

## How to covfefify a string:

### First, get the first sound group (made up terminology).

How do you do this? Well:

• Find the first vowel (y is also a vowel)

  v
creation

• Find the first consonant after that

    v
creation

• Remove the rest of the string

creat


That is your first sound group.

### Next step:

Get the last consonant of the sound group

t


and replace it with the voiced or voiceless version. To do this, find the letter in this table. Replace with the letter given (which may be the same letter)

b: p
c: g
d: t
f: v
g: k
h: h
j: j
k: g
l: l
m: m
n: n
p: b
q: q
r: r
s: z
t: d
v: f
w: w
x: x
z: s


so, we get

d


Then, take the next vowel after that consonant. You can assume that this consonant is not at the end of the string. Join these two together, then repeat it twice:

didi


Concatenate this to the first sound group:

creatdidi


You're done: the string is covfefified, and you can now output it.

Test cases:

coverage: covfefe

example: exxaxa

programming: progkaka (the a is the first vowel after the g, even though it is not immediately after)
code: codtete

president: preszizi


This is , so please make your program as short as possible!

## How to covfefify a string:

### First, get the first sound group (made up terminology).

How do you do this? Well:

• Find the first vowel (y is also a vowel)

  v
creation

• Find the first consonant after that

    v
creation

• Remove the rest of the string

creat


That is your first sound group.

### Next step:

Get the last consonant of the sound group

t


and replace it with the voiced or voiceless version. To do this, find the letter in this table. Replace with the letter given (which may be the same letter)

b: p
c: g
d: t
f: v
g: k
h: h
j: j
k: g
l: l
m: m
n: n
p: b
q: q
r: r
s: z
t: d
v: f
w: w
x: x
z: s


so, we get

d


Then, take the next vowel after that consonant. You can assume that this consonant is not at the end of the string. Join these two together, then repeat it twice:

didi


Concatenate this to the first sound group:

creatdidi


You're done: the string is covfefified, and you can now output it.

Test cases:

coverage: covfefe

example: exxaxa

programming: progkaka (the a is the first vowel after the g, even though it is not immediately after)
code: codtete

president: preszizi


This is , so please make your program as short as possible!

## how to covfefify a string:

### first, get the first sound group (made up terminology): how to do this? well:

find the first vowel (including y):

  v
creation


find the first consonant after that

    v
creation


remove the rest of the string

creat


first sound group

### next step

get the last consonant of the sound group

t


and replace it with the voiced or voiceless version. to do this, find the letter in this table. replace with the letter given (which may be the same letter)

b: p
c: g
d: t
f: v
g: k
h: h
j: j
k: g
l: l
m: m
n: n
p: b
q: q
r: r
s: z
t: d
v: f
w: w
x: x
z: s


so, we get

d


then, take the next vowel after that consonant. you can assume, that this consonant is not at the end of the string. Join these two together, then repeat them twice

didi


concatenate this to the first sound group:

creatdidi


You're done: the string is covfefified, and you can now output it.

Test cases:

coverage: covfefe

example: exxaxa

programming: progkaka (the a is the first vowel after the g, even though it is not immediately after)
code: codtete

president: preszizi


In this challenge, you must take a string matching the regex ^[a-z]+$ or ^[A-Z]+$, or ^[A-Z][a-z]+\$ or whatever is reasonable (you may assume the string is long enough, and has the right structure for all the operations), and output another string, produced similarly to word at the end of a recent dadaist tweet by the POTUS ("Despite the constant negative press covfefe").

## How to covfefify a string:

### First, get the first sound group (made up terminology).

How do you do this? Well:

• Find the first vowel (y is also a vowel)

  v
creation

• Find the first consonant after that

    v
creation

• Remove the rest of the string

creat


That is your first sound group.

### Next step:

Get the last consonant of the sound group

t


and replace it with the voiced or voiceless version. To do this, find the letter in this table. Replace with the letter given (which may be the same letter)

b: p
c: g
d: t
f: v
g: k
h: h
j: j
k: g
l: l
m: m
n: n
p: b
q: q
r: r
s: z
t: d
v: f
w: w
x: x
z: s


so, we get

d


Then, take the next vowel after that consonant. You can assume that this consonant is not at the end of the string. Join these two together, then repeat it twice:

didi


Concatenate this to the first sound group:

creatdidi


You're done: the string is covfefified, and you can now output it.

Test cases:

coverage: covfefe

example: exxaxa

programming: progkaka (the a is the first vowel after the g, even though it is not immediately after)
code: codtete

president: preszizi


This is , so please make your program as short as possible!