Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

GospelTheGrey

macrumors newbie
Original poster
Aug 20, 2011
5
0
Houston, TX
Hi all!

Is there an HTML editor or viewer that is able to select text for copying between matching tags? Example, I want to select the text from a DIV tag to its matching closing /DIV tag. Is there such an iPad app?

All I've found is select word, select all, or select line (by tapping on line #). I've tried Textastic, Koder, Gusto, and Diet Coda.

So far, Diet Coda is my favorite site manager and Textastic is my favorite HTML editor.

Thanks!
Steven
 
Or an editor or viewer that can zoom-in on a block of code would work. Like say, tap on a DIV tag and select zoom-in to show only the coda inside that tag. Any operations like Select All or Find & Replace would only affect that block of code. This would help a lot!

Thanks!
Steven
 
Found a working solution using Diet Coda which happens to be my current site management app on the iPad.

To select the HTML code that I want, I cam use the regex:

<p id="intro(.*\n)*<p id="closing.*\n.*p>

Did a regex search in DC.
Tapped [Done].
The text I want is selected.
Just tap on the selection end mark. And, the Cut/Copy/… menu pops up.

Oh, I assigned an iOS keyboard shortcut for the search string. :)

Enjoy life!
Steven
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.