3 Rollback to Revision 1
source | link

Retina, 36 bytes

+`(.)\1

^(?!.*(13|31|24|42|(.).\2))

Try it here.

Retina, 50 bytes

A`13|31|24|42|(.)(?!\1)(.)(\2\2)*(\1|\2(?!\1|\2).)

I think this works?

Try it here.

Retina, 36 bytes

+`(.)\1

^(?!.*(13|31|24|42|(.).\2))

Try it here.

Retina, 50 bytes

A`13|31|24|42|(.)(?!\1)(.)(\2\2)*(\1|\2(?!\1|\2).)

I think this works?

Try it here.

Retina, 50 bytes

A`13|31|24|42|(.)(?!\1)(.)(\2\2)*(\1|\2(?!\1|\2).)

I think this works?

Try it here.

2 added 213 characters in body
source | link

Retina, 36 bytes

+`(.)\1

^(?!.*(13|31|24|42|(.).\2))

Try it here.

Retina, 50 bytes

A`13|31|24|42|(.)(?!\1)(.)(\2\2)*(\1|\2(?!\1|\2).)

I think this works?

Try it here.

Retina, 50 bytes

A`13|31|24|42|(.)(?!\1)(.)(\2\2)*(\1|\2(?!\1|\2).)

I think this works?

Try it here.

Retina, 36 bytes

+`(.)\1

^(?!.*(13|31|24|42|(.).\2))

Try it here.

Retina, 50 bytes

A`13|31|24|42|(.)(?!\1)(.)(\2\2)*(\1|\2(?!\1|\2).)

I think this works?

Try it here.

1
source | link

Retina, 50 bytes

A`13|31|24|42|(.)(?!\1)(.)(\2\2)*(\1|\2(?!\1|\2).)

I think this works?

Try it here.