16,020,298 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 Visual Basic questions
View Javascript 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 10391350 (Top 27 by date)
Member 10391350
23-Jul-14 2:16am
View
I am sorry for not making it clear. I have created a method or function in Addin application. I need to call this method into another application which is windows Form application. Am I clear now.
Member 10391350
4-Jul-14 4:43am
View
I am using wildcards as true,so normal text replace will work but I want to replace a regex pattern for eg:
wordApp.Selection.Find.Replacement.Text ="^p";
I want the text to be replaced based on the pattern.
Member 10391350
16-Apr-14 9:22am
View
A new event to the control itself.I am stuck up with whether its possible or not,I dont know how to proceed.
Member 10391350
16-Apr-14 8:27am
View
Thanks
Member 10391350
21-Mar-14 5:42am
View
cant get solution from those links
Member 10391350
24-Jan-14 6:46am
View
thanks for your advice!
Member 10391350
24-Jan-14 6:46am
View
i am not getting desired output with this pattern but anyway thanks as i got the solution for this.
Member 10391350
24-Jan-14 6:42am
View
Thanks for your solution its working fine.
Member 10391350
24-Jan-14 3:27am
View
Thanks!
Member 10391350
24-Jan-14 3:27am
View
Thank you so much!
Member 10391350
24-Jan-14 2:45am
View
Thanks thats working fine.
Now i need another pattern for the below output
Sample input:
test.3245
.21
.25
856
45.4
Output:
test.3245
.21
.25
Member 10391350
24-Jan-14 2:18am
View
I need another one help.
I need a pattern for finding any characters before decimal point except numeric values.
sample input:
1.9876
test.3456
45.4
page.6457
Output:
test.3456
page.6457
Member 10391350
24-Jan-14 0:27am
View
Thanks a lot!and sorry for confusing you.Thanks a lot once again!
Member 10391350
23-Jan-14 23:34pm
View
I am getting my output with this pattern "\b[a-zA-Z]*[.][\d][\d]\b" but if there is no text or alphabet before decimal it should not be displayed in output.
example:
example.90
value.46
.09
.78
this is output i am getting when i used your pattern.
but desired output is:
example.90
value.46
Member 10391350
23-Jan-14 23:28pm
View
I want both alphabets as well as number after dot or decimal.
Member 10391350
23-Jan-14 23:17pm
View
Input Text:
Lipids have diverse structures.09 but are similar in that they are insoluble.23 in water.These diseases are known as the sphingolipidoses, or gangliosidoses. The sphingolipidoses are summarized in Table 7.1.
Output:
structures.09
insoluble.23
the pattern you suggested provides:
Table 7.1
I only want output as string before floating point no.(i.e table.1 is expected and not table 7.1)
Member 10391350
23-Jan-14 9:14am
View
Thanks for your reply......
I need only string before decimal or floating numeric values
sample outputs:
text.45
example.90
value.46
like that
Member 10391350
18-Dec-13 4:24am
View
I am using word interop as well as openxml.Actually the problem was word file which i loaded was in compatibility mode.After turning off that compatibility mode it loaded successfully.
Member 10391350
1-Dec-13 9:09am
View
Thanks!
Member 10391350
1-Dec-13 9:08am
View
Thanks!
Member 10391350
26-Nov-13 23:34pm
View
have you got the answer for this post.please post the code if you found the solution.
Member 10391350
26-Nov-13 4:34am
View
private void FindNext_Click(object sender, EventArgs e)
{
if Mygridview.RowCount > 0)
{
int MyDesiredIndex = 0;
if Mygridview.CurrentRow.Index < Mygridview.RowCount - 1)
{
MyDesiredIndex = Mygridview.CurrentRow.Index + 1;
}
Mygridview.Rows[MyDesiredIndex].IsSelected = true;
}
}
this is code i have and i am not able to select next cells in gridview.
Member 10391350
26-Nov-13 4:32am
View
private void FindNext_Click(object sender, EventArgs e)
{
if (Mygridview .RowCount > 0)
{
int MyDesiredIndex = 0;
if (Mygridview .CurrentRow.Index < Mygridview .RowCount - 1)
{
MyDesiredIndex = GvCollcontainer.CurrentRow.Index + 1;
}
Mygridview .Rows[MyDesiredIndex].IsSelected = true;
}
}
this is the code i have but its not selecting next cells.
Member 10391350
26-Nov-13 3:15am
View
yes,absolutely right!
Member 10391350
10-Nov-13 3:16am
View
Yes i need that another word as you said mid-day also need to be found from that passage.For that only i need a pattern dynamically.(to get Mid-day,mid day,midday) and so many words(to-night,tonight,to night) etc like this.
Member 10391350
10-Nov-13 3:13am
View
I am Not looking for a particular word.I need that pattern dynamically to find hyphenated words and those words with spaces and combined also.I have a passage from that i need to use regex pattern to find the words dynamically.
Member 10391350
10-Nov-13 2:25am
View
Hi,
I understand that your pattern matches for all the words which have spaces but i need a pattern for hphenated words(mid-night).i consider this as a parent. I need pattern for (mid night and midnight) from a passage.so your solution gives all the words with spaces also.I need a pattern for hyphen words which are seperated by spaces and joined.
Show More