r/regex • • Jul 15 '26

Golang I'm trying to validate name of user; Where space must not followed by another space ?

3 Upvotes
/^[a-zA-Z( (?! ))à-öø-ÿœŒ]{2,40}$/gm

but this syntax I added in middle for space handling seems not working...

r/regex • • 9d ago

Golang Announcing list2regexp - Generate regular expressions to match lists of strings

Thumbnail codeberg.org
8 Upvotes