Blog Archive for March 12, 2010

JavaScript Regular Expression Testing

March 12, 2010

Here's the source for a simple web page, using jQuery, which allows to user to do some simple experimentation with regular expressions in JavaScript.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>RegEx Test</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<style>
li { list-style-type: none …