5
shouts

SYTYAWD #4 Using Regular Expressions In Java Script

published 417 days, 1 hour, 54 minutes ago posted by beebee 417 days, 12 hours, 24 minutes ago
Monday, January 19, 2009 5:04:12 PM GMT Monday, January 19, 2009 6:34:51 AM GMT

The next installment of the So You Think Your A Web Developer series will talk about Regular Expressions in Java Script. Many developers cringe at the site of Java Script, and even more run and hide with the mention of Regular Expressions. As a web developer, it is your responsibility to write sites that load fast, and often times string manipulation is the cause of bottlenecks on web sites. String manipulation is most efficient when Regular Expressions are used. If you are unfamiliar with Regular Expression syntax, check out SYTYAWD #3 about Regular Expression Syntax. Regular Expressions in Java Script

One you have the Regular Expression syntax down working with it inside of Java Script is a breeze.

Inside of Java Script Regular Expression can be created in two ways. As literals or by calling the constructor of the RegExp object. In most cases I prefer calling the constructor, because I find it makes the code more readable.

category: Ajax | clicked: 0 | | source: www.mcwherter.net | show counter code
tags: Java, JavaScript, Regex

No comments yet, be the first one to post comment.

To post your comment please login or signup