Category: Regular Expressions

Jan 27 2010

How to return tag contents with regular expressions

How to return tag contents with regular expressions
(Photo: Jeff Kubina)

As most of you already know, I LOVE regular expressions, and think they are great to solve simple and complex tasks involving strings.

One thing I usually need to do, is extract contents from inside HTML or XML tags.

Read more...

  comments - Posted by Marcos Placona at 2:00 PM - Categories: Regular Expressions

May 21 2009

Apache 101 - Case insensitive URL's

This is only a quick apache tip for when you are using mod_rewrite.

I've been working on some rewriting lately, and noticed that when you use them, the pattern applied much match exactly, otherwise you will either get error, or your pattern will never find a match.

Read more...

  comments - Posted by Marcos Placona at 3:39 PM - Categories: VPS | Regular Expressions

Mar 5 2009

Tip of the day: Regular Expression Generator

I have just came across this very nice service which promises to write Regular Expressions for you.

We all know how painful writing a regular expression can be, and on this website, you can not only have the pattern created for you, but also have it translated into the most common languages on the web.

I've tried it myself, and can say it's pretty darn good, although it's automatic generator gives you a lot of "functional-crap" sometimes, it's good for when you're in a hurry and need to have a pattern up and running, or is not very confident with regexps.

Check it out here

  comments - Posted by Marcos Placona at 6:50 AM - Categories: ColdFusion | Flex | Misc | Adobe | JQuery | Apollo | Javascript | Regular Expressions







Related URLs

Subscribe

Categories

Search Archives

Monthly Archives