> On 27 Nov 2019, at 14:46, Harvey Pikelberger <[email protected]> wrote:
> 
> 
> Definitely the PHP process can be made to work, and if you’re familiar with 
> JS, Node is maybe a little cleaner and more fluent an environment for what 
> you want to achieve.  ”string”.replace(), for instance, uses native regexp, 
> which is clearer and more powerful than str_replace.  Either way though — 
> Both PHP and JS offer the option to run command line and grep out data and 
> also do the cleaning/prepping and pushing to FMP or SQL in ways that leave 
> the originals untouched.
> 
> BBEdit, is a truly excellent text editor, but for what you’re doing it’s 
> probably better for writing up the automation than doing the automation.

On the PHP side, if you stick with that (as it is designed originally as a text 
processor, it is a perfectly good choice as well) you will probably want to use 
preg_replace instead of the less powerful str_replace, to get the full PCRE 
implementation.

David

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/0100016eb7b9531a-1fc1a2ca-b2d7-40e4-9868-ed12311c2fab-000000%40email.amazonses.com.

Reply via email to