Build, test, and debug regular expressions
Validates a street address line by requiring it to start and end with an alphanumeric character rather than punctuation or spaces, and forbids two consecutive special characters. The main character class permits letters, digits, spaces, and common address symbols like hyphens, periods, #, @, &, commas, underscores, quotes, colons, ?, !, and slashes. Ideal for sanitizing user input in address forms and rejecting malformed entries such as leading hyphens, trailing spaces, or doubled punctuation.