As far as I'm aware, that 'random position' is alphabetically ordered and
not random at all.
On Mon, Aug 28, 2017 at 8:14 AM, Wojtek wrote:
> Hi!
> I've been using TextWrangler for ages (amazing software) and recently
> migrated to BBEdit. However both of them share the weird
Hi!
I've been using TextWrangler for ages (amazing software) and recently
migrated to BBEdit. However both of them share the weird quirk - opening
document or creating new file results in it being inserted at, seemingly
random position in Current Open Documents.
Is there an option to always
If we're golfing, why not:
Find: .*\.
Replace:
(Note that there's a space at the end of the find pattern and the
replacement string is empty.)
Hope this helps!
-sam
On 28 Aug 2017, at 9:47 AM EDT, Jim Danner wrote:
Or, if there's a chance that the text after the last period-and-space
Or, if there's a chance that the text after the last period-and-space will
itself contain a space,
find
^.*\. ([^.]+)$
and replace it with \1
(It finds 'stuff that does not contain any periods' after a
period-and-space.)
On Monday, August 28, 2017 at 3:24:57 PM UTC+2, T Burger wrote:
>
>
Find = ^.* (.*)$
Replace = \1
Thanks,
Ted
*** Ted Burger
t...@tobsupport.com * www.tobsupport.com
> On Aug 27, 2017, at 12:19 AM, Jasyn Jones wrote:
>
> I have a text file with 2000 lines of text similar to
I have a text file with 2000 lines of text similar to this:
baba /baˈba/ nm. mother
bats /bats/ nf. test; v. test
bei /bei/ v. keep
What I want to do is to find and replace everything up to and including the
last period & space, on every line, so the output would look like:
mother
test
keep
On Saturday, August 26, 2017, BeeRich33 wrote:
> Hi folks. Can I use "Process Lines Containing...", coupled with "Delete
> Lines" and "Copy To New Document" to make a .conf file with only
> uncommented lines?
1. Write a Grep pattern that matches only uncommented lines.
2.
I'd use something like this (in Terminal):
grep -Ev '^[ \t]*(#|$)' /etc/apache2/httpd.conf > newfile.conf
It means, "grep, using an *E*xtended regular expression, returning only
non-matching lines (in*v*ert), lines with a '#' or the end of the line
preceded by zero or more spaces or tabs."
Hi Scott,
maybe there is some way to do this with a text factory. BBEdit has the nice
#bbinclude function (check the manual for details).
So, in the first step, i would replace the search term with something like
this:
#bbinclude "/path/to/substitution/file.txt"
After that „Markup > Update >