Go Back to Previous Page

You can use a link to invoke history.go(-1) in Javascript, which is essentially equivalent to clicking the Back button. Ideally, however, it’d be better to just create a link back to the URL from whence the user was posted to the form – that way the proper “flow” of history is preserved and the user … Read more

Matching a space in regex

If you’re looking for a space, that would be ” ” (one space). If you’re looking for one or more, it’s ” *” (that’s two spaces and an asterisk) or ” +” (one space and a plus). If you’re looking for common spacing, use “[ X]” or “[ X][ X]*” or “[ X]+” where X … Read more