Joining two rows of data with alternating delimiters

I’m working with two rows of values that are related to each other and trying to build a formula that will compile the data into one cell, with syntax that uses two delimiters.

If a cell in the active row contains a value, I want to pull the information in row 2 and 3, pair them together with delimiter |, and then use another delimiter ; until all of the values have been added. The output should end up as:

1

I’ve attempted textjoin, join, and ifs functions, but I can’t find the right way to structure a formula to accomplish this because I’m not aware of a way to make the argument alternate the values in two rows until the end of the data. I’ve tried nesting another textjoin but this only appends the values/delimiters rather than alternating them.

Any suggestions on how I could structure this would be appreciated.

Help with awk on how to extract with multiple delimiters

I have below lines I need to extract below data

[97257]{-1}[-1/-1] 2018-12-20 00:25:05.913293 e cs_ddl DropTable.cpp(00030) : cannot get table
[145208]{-1}[-1/-1] 2018-12-20 00:26:46.038752 e cs_ddl DropTable.cpp(00030) : cannot get table for TURBO [52120]{-1}[-1/-1] 2018-12-20 00:28:28.887636 i Logger PlanExecutor.cpp(02746) : Execute plan with next version:

awk -F “:” ‘{print $ 3}’ a1.trc |awk ‘{print $ NF}’|awk -F'(‘ ‘{print $ 1}’|sort |uniq -c 2 DropTable.cpp 1 PlanExecutor.cpp

i know with awk we can use multiple delimitors using reg. exp but not able to get it in easy way.

tried this way – cat a1.trc | awk -F”[.| | ]” ‘{print $ 16}’ but not getting what i need.

All i need is the below output.

   2 DropTable.cpp   1 PlanExecutor.cpp 

Website stopped working – bad flag delimiters error

I’ve had a website that has worked for a year. I changed the domain name, and the hosting company copied all of the data to the new hosting account. The website worked for a few days. Now, with no changes made, I’ve got a 500 Internal Server Error.

The error log says: /home/website/public_html/.htaccess: RewriteRule: bad flag delimiters

The .htaccess file in the public_html folder says:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?website.com$
RewriteCond %{REQUEST_URI} !^/cmsfolder/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /cmsfolder/$ 1
RewriteCond %{HTTP_HOST} ^(www.)?website.com$
RewriteRule ^(/)?$ cmsfolder/index.php [L]Options +Indexes
Options +Indexes
IndexOptions -FancyIndexing

I haven’t changed anything, so I am not sure why the website would just switch to a 500 server error.

To be honest, I have no idea what I am doing with it and the hosting company does not seem to know either.