Re: Can anyone help with Script that formats and replaces JSON?

2020-01-29 Thread GP
On Wednesday, January 29, 2020 at 5:46:09 AM UTC-8, Ken Corey wrote: > > Hi All, > > I have a script, shown below, that allows me to put the cursor on a single > line of json and call my script. A terminal window is opened, and the > formatted json is shown. I then can copy it out and paste

Can anyone help with Script that formats and replaces JSON?

2020-01-29 Thread Ken Corey
Hi All, I have a script, shown below, that allows me to put the cursor on a single line of json and call my script. A terminal window is opened, and the formatted json is shown. I then can copy it out and paste it back into the document. It works, but it's still a bit of a bother. I'd like

Re: Grep for removing injection spam links in a database or html

2020-01-29 Thread GP
On Tuesday, January 28, 2020 at 8:31:38 AM UTC-8, Jefferis Peterson wrote: > > I am dealing with old hacked sites in Wordpress where there are injection > spam links on images. Also, need this for standard html sites. > > I have access to the database and would like to remove links that look

Re: C grunt work - how to automate with BBEdit?

2020-01-29 Thread GP
On Tuesday, January 28, 2020 at 12:45:41 PM UTC-8, Sam Hathaway wrote: > > There are two tasks I end up doing manually in C a lot and I’d like to not. > > Thing one: putting guards around header files. > > > [snip] > > Thing two: maintaining function prototypes in header files. > [snip]

Re: Grep for removing injection spam links in a database or html

2020-01-29 Thread Roland Küffner
If only the content of the href attribute varies, this search should do the trick: \. if you have no other tags with just a colon in it, you could probably boil it down to \. Replacement text would be a space (of course). -Roland On Tue, Jan 28, 2020 at 5:31 PM Jefferis Peterson wrote: >