16,018,460 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 10266297 (Top 16 by date)
Member 10266297
28-Apr-16 2:11am
View
i am asking if there is a way to pick the string outside the ()
Member 10266297
27-Apr-16 8:42am
View
seem good and smart but i cant change the code behind i have to use the below exactly:
string input = "(Vaue 1) test + test(Vaue 2)bbb * aaa(Vaue 3)";
var matches = Regex.Matches(input, @"(?<=\().+?(?=\))")
.Cast<match>()
.Select(m => m.Value)
.ToList();
foreach (var item in matches)
{
Console.WriteLine(item);
}
Member 10266297
27-Apr-16 8:19am
View
i don't want to use replace because it is fixed in the code and the regex can be entered from a textbox so i need to use replace
Member 10266297
27-Apr-16 7:52am
View
the expected output is: test + test bbb * aaa
everything without ()
Member 10266297
22-Aug-14 4:58am
View
Thank you very much OriginalFGriff it is very helpful
SELECT *
FROM dbo.mytable
INNER JOIN FREETEXTTABLE(dbo.mytable,Name,'search Key') FT
ON mytable.Id = FT.[Key]
ORDER BY RANK DESC
Member 10266297
22-Aug-14 3:39am
View
ok you are right, i tried my self the below:
Declare @products varchar(200) = 'i went to the supermarket yesterday with a friend'
Declare @individual varchar(20) = null
WHILE LEN(@products) > 0
BEGIN
IF PATINDEX('% %',@products) > 0
BEGIN
SET @individual = SUBSTRING(@products, 0, PATINDEX('% %',@products))
SELECT @individual
SET @products = SUBSTRING(@products, LEN(@individual + '|') + 1,
LEN(@products))
END
ELSE
BEGIN
SET @individual = @products
SET @products = NULL
SELECT @individual
END
END
and i get this result:
i
went
to
the
supermarket
yesterday
with
a
friend
i separate them by space now how can i concatenate each two string with each other:
select * from mytable where title like '%i went to the supermarket yesterday with a friend%'
and
select * from mytable where title like '%i went%'
and
select * from mytable where title like '%to the%'
and
select * from mytable where title like '%supermarket yesterday%'
and
select * from mytable where title like '%with a%'
and
select * from mytable where title like '%friend%'
Member 10266297
19-Aug-14 1:34am
View
so what can i do?
Member 10266297
19-Aug-14 1:33am
View
Deleted
so what can i do?
Member 10266297
4-Jul-14 4:06am
View
ok guys lets make some changes on the question: instead of youtube i am asking for the best practice of the above three questions for developing website that upload and play videos
Member 10266297
4-Jul-14 4:05am
View
ok guys lets make some changes on the question: instead of youtube i am asking for the best practice of the above three questions for developing website that upload and play videos
Member 10266297
3-Jul-14 7:10am
View
sorry i wrote it by mistake
Member 10266297
3-Jul-14 7:01am
View
why it is locked??
Member 10266297
26-Jun-14 1:40am
View
my dear after uploading the video to my database and then download it, the video is playing normally and not corrupted i think this means that the video is stored successfully right? if not please can you support me with a method to store flv in database?
Member 10266297
17-Oct-13 10:07am
View
Label label = new Label();
label.Text = "text";
label.BorderStyle = BorderStyle.FixedSingle;
label.SetBounds(myPanel.Bounds.X + 1, myPanel.Bounds.Y + 5, 100, 20);
myPanel.Controls.Add(label);
this is the way how to create control at run time i use it and it is working well try it on button click of your application
Member 10266297
17-Oct-13 9:50am
View
so create them dynamically as the example above
Member 10266297
11-Oct-13 10:15am
View
look my dear you have to start with the following way and when you find better way move to it but till now you don't have a way to implement so don't wast you time implement the below and search for better..
Show More