Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
rob :: digitalburn #1
php regular expression problem
Hi,
I've got just a small problem, it's probably not very complex but I'm not
very experienced with regular expression stuff. I just need to detect email
addresses in a string. I know that the emails already in there will be
valid, so it just has to detect them, not do any validation, so a fairly
naive solution would probably work. I've tried a few things, but to no avail
so far.
Any clues? :)
thanks
Rob
rob :: digitalburn Guest
-
regular expression problem ? and * characters
Im writing a perl script now and this is part of the sricpt chomp = ($pattern = ARGV); for each(@thisarray) { if($_ =~ m/$pattern/i) {... -
Regular Expression Problem
I am trying to parse a relatively simple SQL query with a regular expression. All is going well except for one issue I don't seem to be able to... -
Problem with regular expression
I'm trying to use a regular expression to remove from the output of a call to ToString with an XML object, the text between "<?" and "?>" txtvar... -
help on regular expression
Hi, I need some help on regular expression... i have following in variable $total_count $total_count = "##I USBP 000001 10:38:09(000)... -
Regular Expression HELP!
I'm stripping out the attributes in <TD> tags...but I want to strip out everything BUT the COLSPAN attribute. The following strips out all... -
rob :: digitalburn #2
Re: php regular expression problem
No worries, found something :) If anyone's interested, this finds an email
address in a string:
'/[_a-z0-9-]+(\.[_a-z0-9-]+)*)[a-z0-9-]+(\.[a-z0-9-]{2,})+/'
rob :: digitalburn Guest



Reply With Quote

