GREP search and replace / regular expression / regex
Stephen Jonke 12 years ago • updated by Alexander Blach (Developer) 11 years ago • 17 • 1 duplicate
The existing search and replace is good, but something akin to BBEdit's grep search and replace would be a godsend. You can, for example, search for a pattern, specifying sub-patterns of that pattern, and replace only portions of that match with something else, including portions of the matched text. Etc. It's incredibly powerful and useful. Also, obviously, grep for just the search part would be great too.
Textastic 4.0 will support regular expression find and replace.
Customer support service by UserEcho
The lack of regular expression support is the only thing Textastic doesn't do better than other iOS text editors I've used.
Textforce supports regular expressions, as mentioned by Mr. Levings, but Textforce is slow, annoying, and it doesn't support text highlighting. Additionally, I can't open files from DropBox into Textforce. Boo-urns.
Anyway, I hope to see regex support soon! Thanks for a great app!
Textforce is in my workflown regularly for its superior find and replace implementation.
I'm trying to find and replace some non-breaking space characters (A0) but find that the search box does not support those characters if I paste them. They seem to be ignored by the search method.
Alternatively can you treat space and non-breaking space as the same character when searching? So when I enter space (20) it will match A0 and 20.
I don't know if there's a way to enter those characters, such as by an external keyboard. Maybe it could be done using a TextExpander shortcut?
+1 for this ASAP!
The User interface in textastic is excellent, congratulations!
But to be useful for server management or code development, it MUST have GREP!
Regular Expression is really required.
I have tried to use Regular Expression in Textastic several times when I froget Textastic don't support it,
at last I have to turn on my PC or try edit code manually, generally it's a simple task if I can use Regular Expression.