![]() Preserved Topic: Another PHP issue, finding patterns in strings? (again?) (Page 1 of 1) |
|
---|---|
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
![]() 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 |
![]() 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 |
![]() 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 |
![]() 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 |
![]() Hey Doc, |
Paranoid (IV) Inmate From: Lebanon |
![]() 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 |
![]() *just fixed the link* |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Inmate From: Behind the Wheel |
![]() thanks for the explanation Slime |
Paranoid (IV) Inmate From: Lebanon |
![]() 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 |
![]() 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! |