Make word list comma separated in Microsoft Word [closed] - ms-word

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have long column of words
Rolls Royce
Volkswagen
Aston Martin
Audi
BMW
Mercedes-Benz
Porsche
Bentley
How to make these words comma separated like ...BMW,Audi...

Use find and replace with the following inputs:
find: ^p
replace: ,

Related

Powershell solution required [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 days ago.
Improve this question
I have many text files in directory and sub directories. I want to add a Tab character before Device_Id but line must not contain Sender_Ip.
Device_Id is present in both lines either it's having Sender_Ip or not. I could replace Tab character but had replaced in both types of lines whereas I just want it to be replaced where Sende_Ip is not present.

Why we use braces in swift? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
Why do we use braces in swift? what is the point of it?
var age=Int.random(in: 1...50)
print(age)
if age>=12 {
print("adult")
} else { print ("child") }
From Mastering Swift 4 - Fourth Edition by Jon Hoffman
In Swift, unlike most other languages, the curly bracket is required after conditional or loop statements. This is one of the safety features that are built into Swift. Arguably, there have been numerous security bugs that may have been prevented if the developer would have used curly braces.

Need Regular expression [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Can some one tell me the regular expression for below file :
Input string
Exp :
com.skype.raider
com.instagram.android
com.android.phone
com.android.gallery
com.android.launcher
com.Zeus.webbrowser
Desired Strings(o/p)
com.android.phone
com.android.gallery
com.android.launcher
I tried like : $line =~ /com.android.*/ but its not working the way i wanted to be :(
I assume you're looking for a regular expression to match anything that begins with com.android.
If that is the case, try something like this:
com\.android\..*
Tested using RegexPlanet

Replace the mixed pattern with preg_replace() on a directory path string [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to remove "Documents/1/project/1/sub/15/"
from the whole text srting
"Documents/1/project/1/sub/15/Project 1_1/2012-09-10/0a/0ad0175615742c7a3142cd0ecc4c3277/19-50-24-10233310.txt"
But the numbers 1,1 and 15 will not be same always.It will change.
Desired result : "Project 1_1/2012-09-10/0a/0ad0175615742c7a3142cd0ecc4c3277/19-50-24-10233310.txt"
Solved it.
preg_replace('/(Documents/.+?)+(/project/.+?)+(/sub/.+?)+(/)/i','',$str)

how to write a LaTeX macro for conditional compiling? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I want to write some notes in the draft of a LaTeX document, and at a later point I want to compile the document without them. I saw someone doing something like the following (but I forgot what he did). Write notes as {\scriptsize some_text}, and in the end replace all {\scriptsize ...} with {} with a \newcommand. But I can't figure out how to write a \newcommand to replace all {\scriptsize some_text} occurrences by empty strings. I can then just comment or uncomment the \newcommand line.
Declare in the beginning of your file
\somevariabletrue
%\somevariablefalse
so you can quickly uncomment one and comment second, and in the later part of your code:
\ifsomevariable
...
\else
...
\fi