Validation Expression - C# [closed] - c#

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 5 years ago.
Improve this question
I am trying to create a validation expression for a table name in the format of:
Name_TableName_YYYYMMDD
right now I have something like this:
^[a-zA-Z0-9][^_]+[a-zA-Z0-9][^_]+\d{8}
Number at the end can read 8 digits.

You could try this (very basic) expression
[a-zA-Z]+_[a-zA-Z]+_[0-9]{4}(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])
Link to a test

Related

Is there any alternative for string.Join() inside Select statement of IQueryable? [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 2 years ago.
Improve this question
SQL server does not understand C# inbuilt functions.
I would put skills as a collection instead and than join on presentation (Transform it in the controller or wherever you send it).
Sills = cjdb.jclsf.Select(i => i.sr.Name)

Allow Specific Characters in a textbox C# [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 6 years ago.
Improve this question
I need to allow specific characters in my textbox but not range of letters only those ( T, A, G, C ).. the problem is I can't find the regular expression pattern for that.
I think you can make it just with /[TAGC]/g.
I strongly recommend you to check out this site, you can test every regular expression you need there:
RegExr

How to get assembly codes which access memory section in other process ? - C# [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 9 years ago.
Improve this question
I mean how can i make function like "Find out what accesses this address" in Cheat engine.
I need a quick good Function
and thanks
IDebugControl::AddBreakpoint.

How To Compare two strings on Percentage Basis [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 compare two strings on percentage basis
like i have this
Player and wmplayer
Manager and IDMan
Mail and WINMail
Explorer and iexplorer
Any Help Please
You can probably make use of a library such as ScoreSharp. It is designed to do fuzzy matching to find similarities between strings.

How to print in C# - but not through crystal-report? [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 1 year ago.
Improve this question
How to print in C# - but not through crystal-report?
Can I get some simple sample code?
Look into the System.Drawing.Printing.PrintDocument class.
There's also a good tutorial here:
http://www.dreamincode.net/forums/showtopic44330.htm
this may be wrong because i'm dumb founded by the last part but to print you type "Console.WriteLine("whatever ur gonna print");"

Categories