stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


Regular Expressions Introduction







Regular Expressions Introduction

Regular Expressions Introduction 02/10/2004 02:49 AM

Transform HTML with Regular Expressions: If you don't know what regular expressions are or why you would need to use them, read this. It's a good introduction to regex, grounded with examples of transforming HTML.

Click here to comment on this entry




This is a GrokNews Entry: (what is grok?)





Similar Items

Regular Expressions Introduction

Grok Headline matches for Regular Expressions Introduction

DotGeek.org: Introduction to Regular
Expressions


DotGeek.org: Introduction to Regular
Expressions
01/09/2004 10:08 PM
DotGeek.org has a new posting this morning for everyone out there struggling with regular expressions and might need that extra helping hand - Introduct ion to Regular Expressions.

Introduction to Regular Expressions in
Dreamweaver


Introduction to Regular Expressions in
Dreamweaver
06/05/2005 10:49 PM
Learn how to find and replace content precisely with this example for maintaining Cascading Style Sheet (CSS) code on your site.

Introduction to regular expressions
(#1): General Mechanics


Introduction to regular expressions
(#1): General Mechanics
02/05/2003 11:54 PM

Anyone that has to do a large sum of unusual data manipulation will always choose to use regular expressions ('regex') over native functions because of one thing: power. In PHP the 'ereg_' functions are what utilize ERE POSIX, and the 'preg_' functions utilize PCRE. In this 'introduction to regular expressions' I will assume no prior knowledge of regex, and will try to give you the most thorough explanation of this powerful tool as I can.


Using Regular Expressions in PHP


Using Regular Expressions in PHP 12/23/2002 03:49 AM
Are you getting stuck on PHP's regular expressions? Look no further than James' down-and-dirty how-to, which tells you all the basics you need to know, and shows how to put them to good use!

Syntax of regular expressions


Syntax of regular expressions 06/08/2002 10:39 PM
CNET Jun 8 2002 10:10PM ET

Regular Expressions in JavaScript


Regular Expressions in JavaScript 09/09/2002 01:19 AM
An explanation of concept and a reference to using regex in JavaScript, with some compatibility notes.

Maintaining Regular Expressions


Maintaining Regular Expressions 01/17/2004 10:38 PM
It's easy to get lost in complex regular expressions. Aaron Mackey offers a few tips and an ingenious technique to help you keep things straight.

Tutorial: JavaScript and regular
expressions


Tutorial: JavaScript and regular
expressions
02/23/2003 01:53 AM
CNET Feb 23 2003 1:22AM ET

Zend Starts in on Regular Expressions


Zend Starts in on Regular Expressions 10/30/2002 08:55 AM

ArticleCity: Mastering Regular
Expressions in PHP


ArticleCity: Mastering Regular
Expressions in PHP
04/05/2005 09:18 AM
PHP Magazine has a quick pointer to a short article today over on ArticleCity about "Mastering Regular Expressions in PHP".

SitePoint: Regular EXpressions the Easy
Way


SitePoint: Regular EXpressions the Easy
Way
12/23/2002 08:53 AM

Demystifying the syntax of regular
expressions


Demystifying the syntax of regular
expressions
06/06/2002 06:00 AM
CNET Jun 5 2002 10:13PM ET

Bots and regular expressions (Sydney,
Aus)


Bots and regular expressions (Sydney,
Aus)
01/09/2004 09:55 PM
Rapid Intelligence Pty Ltd - Australia, NSW, Sydney (2004-01-09)

RegX - Java Regular Expressions Builder/


RegX - Java Regular Expressions Builder/ 04/09/2005 10:23 PM
Project started

JavaScript and regular expressions make
a powerful duo


JavaScript and regular expressions make
a powerful duo
02/22/2003 02:59 AM
CNET Feb 22 2003 1:25AM ET

ONLamp.com: Five Habits for Successful
Regular Expressions [Aug. 21, 2003]


ONLamp.com: Five Habits for Successful
Regular Expressions [Aug. 21, 2003]
07/14/2004 03:01 AM
ONLamp.com: "Five Habits for Successful Regular Expressions" .. If you adopt the five habits discussed in this article .. ONLamp

onlamp.com/pub/a/onlamp/2003/08/21/regexp.html
track this site | 3 links


<a
href="http://my-expressions.com/about.sh
tml">Expressions - a visual


<a
href="http://my-expressions.com/about.sh
tml">Expressions - a visual
10/30/2003 08:17 PM
<a href="http://my-expressions.com/about.shtml">Expressions - a visual blogging system</a>: "Expressions is a hosted visual blogging system that makes it easy for anyone to create and maintain their very own photo or visual blog." Cool....

Expressions


Expressions 03/23/2005 06:37 AM
Developers, developers, developers

Expressions in CSS


Expressions in CSS 08/16/2004 12:08 PM

About Dynamic Properties: Ever heard of IE's CSS "expression" property? It allows you to set a CSS property not to a constant, but to the result of a JavaScript expression. Like this:


p
{
width:expression(400 + "px");
}

What this lets you do, according to this really good article, is make IE emulate the ma x-width CSS property that it really should support like all other good browsers. Like this:


p
{
max-width:800px;
width:expression(document.body.clientWidth > 800? "800px": "auto" );
}

Ugly hack, but crappy browsers will do that.

Click here to comment on this entry


Molecular Expressions


Molecular Expressions 02/10/2004 07:08 AM
Molecular Expressions
http://www.molecularexpres sions.com/

The Molecular Expressions website features their acclaimed photo galleries that explore the fascinating world of optical microscopy. They are going where no microscope has gone before by offering one of the Web's largest collections of color photographs taken through an optical microscope (commonly referred to as "photo-micro-graphs"). Visit their Photo Gallery for an introductory selection of images covering just about everything from beer and ice cream to integrated circuits and ceramic superconductors.

"Favourite expressions"


"Favourite expressions" 06/18/2004 11:21 AM

a series of expressions


a series of expressions 07/10/2004 10:21 PM
120 Years of Electronic Music. Electronic musical instruments 1870 -1990.

Creature House Expressions


Creature House Expressions 06/09/2004 05:15 PM
Microsoft is giving away a nifty piece of software. It's the beta of Expressions 3 by Creature House, something I used to use back in my Mac days but hadn't heard anything about in a long time. Apparently MS bought Creature House last year. I downloaded it (after filling out a somewhat arduous survey/profile thingy) and think it a nice drawing program. Both Mac and Win versions are posted.

Expressions - a visual bl0gging


Expressions - a visual bl0gging 10/30/2003 09:22 PM
Expressions - a visual blogging system: "Expressions is a hosted visual blogging system that makes it easy for anyone to create and maintain their very own photo or visual blog." Cool....

Dynamic Vantage Inc. launches
Expressions v.2.0.


Dynamic Vantage Inc. launches
Expressions v.2.0.
07/09/2004 03:42 AM
Dynamic Vantage Inc., the makers of the Expressions visual blogging system launches Expressions v.2.0 which includes new features, a new interface and new identity for Expressions. [PRWEB Jul 9, 2004]

Sheep can recognise 50 facial
expressions!


Sheep can recognise 50 facial
expressions!
06/13/2004 02:44 AM
NewKerala.com Jun 13 2004 5:42AM GMT

"Molecular Expressions: The Beershots
Photo Gallery"


"Molecular Expressions: The Beershots
Photo Gallery"
07/06/2004 08:13 AM

Body language and facial expressions in
MMOs


Body language and facial expressions in
MMOs
07/20/2004 04:44 AM
Good piece on Mindjack on the rise of body-language cues in Massively Multiplayer online games with emphasis on Second Life's toolkit:
"V-Chat," launched in 1995, was an early contender in the ballooning collection of larger-scope chat spaces that encompassed both 2D and 3D graphics. V-Chat's avatars, although primitive, were both customizable and capable of expressing a range of emotional states. Microsoft's 2D "Comic Chat" built upon the facial expressions Microsoft had tested with V-Chat. Comic Chat displayed text in speech or thought bubbles, allowing users to express not only their public, but "private" thoughts; AI-detection of user-typed acronyms would cause one of the illustrated avatars to assume an appropriate pose, such as waving if the user had typed "BRB" for "be right back." While both the 2D Comic Chat and 3D V-Chat gave users more expressive outlets, it was ultimately 3D space that would offer the greatest potential for interpersonal dynamics. After analyzing logs from V-Chat sessions, Microsoft Research found that "Overall, V-Chat users appear to be using the 3D features of the program to reproduce the social conventions of physical proxemics."2 The opening up of chat to 3D space allowed users to communicate nonverbally simply by establishing location and facing relative to other participants.
Link (Thanks, Donald)

Christopher Spewock Promoted At Digital
Brand Expressions


Christopher Spewock Promoted At Digital
Brand Expressions
04/06/2005 03:14 AM
Digital Brand Expressions L.L.C. (DBE) announced today that Christopher Spewock has been promoted to account executive. [PRWEB Apr 6, 2005]

Jennifer Glass Joins Digital Brand
Expressions


Jennifer Glass Joins Digital Brand
Expressions
06/01/2004 06:37 PM
TMCnet-3 hours ago ... who monitor our clients’ site traffic patterns and make recommendations for ongoing site optimization to attract search engine traffic from Google, Yahoo, MSN ...

Regular JOB consuming You?


Regular JOB consuming You? 02/10/2004 02:44 AM
There are times when ones job consumes all of your time. That has been the case with me over the...

XML Keeps Programmers Regular


XML Keeps Programmers Regular 03/19/2003 10:24 PM
...using regular expressions, that is. In response to Tim Bray's dirty little habit of parsing XML with regular expressions, Jon Udell writes:
If the XML gods are resorting to Perl and Python hackery to shred documents, are we just spinning our wheels? I don't think so. But this is, perhaps, an unusual case. ... I can, however, make excellent use of the text stream underlying XML abstractions. So, which way to regard a document becomes a kind of Necker cube puzzle. The bad news: it's confusing. The good news: it's useful.
When the suggestion of XMLizing Blosxom templates came up a week or so ago, I (calmly) dared the proponent to install any number of Perl XML modules under Mac OS X. After all this time, it's still horrid stuff. And then there are those who, at the mercy of their ISPs, don't even have the choice of installing an XML parser.

That said, XML parsing has become a regular part of the modern programmer's nutritious breakfast. There're mouthfuls of RSS to consume, the Google Web API to Google, and the breadth and depth of the Amazon to explore. What's a happy parser-less hacker to do?

I just co-authored a book, 1/4 of which relied heavily on the availability of not only an XML parser, but a SOAP stack. Faced with the reality that more than a handful of readers wouldn't have either at their disposal, I wrote a hack sure to turn the stomach of any XML purist while turning many a hacker frown upside-down... "NoXML, Another SOAP::Lite Alternative" for the Google Web API.

XML jockeys might well want to avert their eyes for this one. What is herein suggested is something just so preposterous that it just might prove useful -- and indeed it does. NoXML is a drop-in alternative to SOAP::Lite. As its name suggests, this home-brewed module doesn't make use of an XML parser of any kind, relying instead on some dead-simple regular expressions and other bits of programmatic magic.
Elegant? Depends on your definition. Pure? As the driven beach sand. Work? You betcha!

Molecular Expressions: Science, Optics
and You - Powers Of 10: Interactive Java
Tutorial


Molecular Expressions: Science, Optics
and You - Powers Of 10: Interactive Java
Tutorial
11/02/2003 06:30 AM
Molecular Expressions Science, Optics and You - Powers Of 10 Interactive Java Tutorial .. zoom in a leaf on earth starting from the milky way .. cool Java applet .. presentation .. Viajando

micro.magnet.fsu.edu/primer/java/scienceopticsu/powersof10/ index.html
track this site | 3 links


Regular Statement String 2.2


Regular Statement String 2.2 12/20/2003 04:59 PM
Libraries for key-value development.

A Regular Looking 3G Phone - the LG 8110


A Regular Looking 3G Phone - the LG 8110 06/09/2004 05:41 PM
Engadget Jun 9 2004 9:20PM GMT

Regular Work Schedule


Regular Work Schedule 12/11/2003 12:04 PM
If it appears the content is a little thin around here it probably is. I have a very heavy workload...

Regular Statement String 2.5.2


Regular Statement String 2.5.2 12/24/2004 12:22 PM
Libraries for key-value development.

Regular Folks to Kiss the Sky


Regular Folks to Kiss the Sky 06/17/2004 11:39 AM
Wired News Jun 17 2004 4:16PM GMT

Regular Statement String 2.0.1


Regular Statement String 2.0.1 12/06/2003 04:33 PM
Libraries for key-value development.
Grok Description matches for Regular Expressions Introduction
GrokA matches for Regular Expressions Introduction

Review of Regular Expression Pocket
Reference


Review of Regular Expression Pocket
Reference
10/29/2003 12:09 AM
TBR writes "TechBookReport has just published a new review of the O'Reilley book 'Regular Expression Pocket Reference.'"

Book Review: Regular Expression Recipes


Book Review: Regular Expression Recipes 03/23/2005 08:37 PM
"Regular expressions are not restricted to just the Perl or shell environments, so Nathan offers variations for Python, PHP, and VIM as well. In most cases the translation is relatively straight-forward, but in a few cases a different environment may have (or lack) additional facilities, prompting a different expression to do the same task." Story

Regular Expression Recipes


Regular Expression Recipes 03/22/2005 03:39 PM

Slashdot: Regular Expression Recipes


Slashdot: Regular Expression Recipes 03/24/2005 08:54 AM
For anyone that's struggled with regular expressions and is in need of some good solid examples, you might want to check out the new book review over on Slashdot about the new APress book Regular Expression Recipes: A Problem-Solution Approach for one option.

``I'm not your regular person, I guess.'


``I'm not your regular person, I guess.' 04/12/2005 10:20 PM
Down doesn't mean out. There were great expectations for Bill Pulsipher, and then a great crash. After leaving baseball to mow lawns, he's worked his way back -- becoming perhaps the only ballplayer to talk about the stigma attached Anxiety and Depression. He has retur ned as a loogy with last year's NL champs the Cards. But how will he do this year?

Regular Expressions Introduction

The following phrases have been identified by the grok system as matching this entry: leica "digilux2"review tenshi-0.3.3 javascript regexp disjunction regular expression engine c regexp cocoa c# "regular expressions" hostname dfghdfhg perl 5 regular expressions syntax c regex class split java-regular-expression to javascript-regexp

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

Mike Rowe Keeps
Raking It In

Mapping Software and
City Government

Mount Remote Folders
in Windows

MS to Thailand:
Please don't go

Foxy...
Hail Umbrella
McAfee Sneakiness
Grid-Accelerated
After Effects

RentACoder Privacy
Breach

FrontPage 2003 Ad
Goof

Novell exteNds to
Version 5 with
'ease'

Thor takes a stab at
best of breed
provisioning

Where to get Active
Directory expertise

A little more or a
lot less of Linux?

Don't spread around
your exploits

RDBMS vs. LDAP
A NetWare book that
has been years in
the making

Bill Gates falls
flat on his spam

Coming back to 'who
owns the data'

Remote Procedure
Calls with
PEAR::XML-RPC

Introduction to Java
Script

Social manners
How to Capitalize on
Blogging

Signs
A List Apart No. 169
CSS Validator
Changes the Rules
[updated three
times]

A List Apart No. 170
Fixes and Podiums
Spam me like it's
1999

iChat Across
Platform Boundaries

Is the mood changing
towards the
legitimate use of
P2P networks?

Powergen sets legal
attack dogs on
security
whistle-blower

Checking on .eu
names: want the job?

Peoplesoft spurns
Oracle's final final
offer

EMC floods market
with new hardware

EC probes mobile
sports right sales

Mickey Mouse blesses
Microsoft DRM

HP pumps Unix,
Itanium and storage
lines

iPod owner's open
letter to Apple

Avoid Friendster and
its clones, warns
security expert

xmlformat:
Consistently format
XML files

Aspen Systems
unveils new dual
blade server

Sun 'explains' open
source at EclipseCon

Linux Advisory Watch
- February 6, 2004

RollerMouse: A
better mouse trick

Software innovation
is dead

OSDL CEO expects
Microsoft to port
apps to Linux

Linux renegades
IT Investor's
Journal: A close
look at Red Hat

Is Nokia trying to
take over Symbian?

what is grok?