(regex that allow emails with up to 200 characters and which is secure against SQL injection)
^[a-zA-Z0-9._%+-]{1,100}@[a-zA-Z0-9.-]{1,80}\.[a-zA-Z]{2,4}$(regex that allow passwords with up to 200 characters with any character)
^.{1,200}$(regex that allow usernames with up to 18 characters with letters, numbers, dashes and underscores)
^[a-zA-Z0-9_-]{1,18}$(regex that allow surnames with up to 18 characters with letters, dashes and spaces)
^[a-zA-Z -]{1,18}$(regex that allow comments with up to 1000 characters with any character)
^.{1,1000}$(regex that allow article titles with up to 50 chars with every character)
^.{4,50}$(regex that allow article descriptions with up to 200 chars with every character)
^.{4,200}$(regex that allow article contents with up to 10000 chars with every character)
^.{30,10000}$(regex that allow article tags with up to 1000 characters, with letters, numbers, dashes, underscores, brackets and commas)
^[a-zA-Z0-9_-,\[\]]{0,1000}$