Preserved Topic: Another PHP issue, finding patterns in strings? (again?) |
|
---|---|
Author | Thread |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 02-28-2002 14:32
OK, my problem here is that I don't even know where to start, or what threads to be looking at here in this forum. I know maX has spoken at some length before about regex (or something like that), but I look at the examples in the PHP docs and can't even undertand *how* they build these comparison strings. Like this, for example from the preg_replace() example... |
Paranoid (IV) Inmate From: Lebanon |
posted 02-28-2002 16:12
Doc, I have written a full HTML editor, didn't bother myself with the<br>s and the new lines .... code: <form name='myform' onsubmit='func1()'>
|
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 02-28-2002 16:48
Yah, the thing is, I want them to come in and paste their text content into this window, then translate it out automagically as HTML for display on the website. It actually works right now, and if I can finish all the basic elements I may make my own included "ozone" code to triger a wizard for including images and such. It'll be a nifty thing to have, and should be good for doing business sites, no? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 02-28-2002 18:23
I'm afraid I don't quite understand what you're trying to do, but here's a quick explanation of regular expressions for you... normally, this is covered in a chapter of a book - 30 pages or so, I assume. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 02-28-2002 19:54
Hey Doc, |
Paranoid (IV) Inmate From: Lebanon |
posted 02-28-2002 22:07
Doc, what you're doing is very nice, but I believe it can get either complicated or limited (ie. not compatible with all browsers). |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 02-28-2002 22:54
*just fixed the link* |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 02-28-2002 23:28
The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 03-01-2002 08:53
The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Inmate From: Behind the Wheel |
posted 03-01-2002 11:28
thanks for the explanation Slime |
Paranoid (IV) Inmate From: Lebanon |
posted 03-01-2002 12:19
if you really like REs , try playing there: |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 03-01-2002 12:39
John Haggerty! My man, what a perfect mini-explanation of what those silly strings of parameters mean. I can work out the rest for myself, but I was missing the basic starting point, I think I'll write your post to a text file and save it for future reference. You are the master of short, sweet explanations! |