This is a discussion on "Extract attribute value with Regular Expression?" within the PHP Forum section. This forum, and the thread "Extract attribute value with Regular Expression? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Extract attribute value with Regular Expression?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Hi
My PHP is a little rusty, as are my regular expressions. I have a html string held in a variable in php:
Thanks |
|
|
|
#2
|
|||
|
|||
|
Re: Extract attribute value with Regular Expression?
This might work:
|
|
#3
|
|||
|
|||
|
Re: Extract attribute value with Regular Expression?
Got it to work after a couple of changes, thanks.
|
![]() |
| Tags |
| attribute value, regular expression |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Extract text from a dropdown field? Hmm... | simbo1231 | JavaScript Forum | 4 | Nov 4th, 2007 22:40 |
| Using Font Size in BODY attribute | nne | Website Planning | 7 | Sep 11th, 2007 11:35 |
| Unicode Regular Expression won't work ?? | stacioanri | JavaScript Forum | 2 | Jul 28th, 2007 21:52 |
| Help spliting string by regular expression | Sagaris | PHP Forum | 8 | May 1st, 2007 20:46 |
| need help to extract javascript from site. | hmc | JavaScript Forum | 0 | Nov 2nd, 2005 07:11 |