-
Hey guys, I am completely new to regular expressions and I barely know any JavaScript. So I have a mission for you, if you choose to accept. I need a script that can do the following. Search between two lines of code (I am writing asp) From <!--#include...
-
I've just released XRegExp 1.0 , the next generation of my JavaScript regular expression library. This version fixes a couple bugs, corrects even more cross-browser regex inconsistencies, and adds a suite of new regular expression functions and methods...
-
Regular Expressions Cookbook (written by Jan Goyvaerts and me, and published by O'Reilly Media) is now available at Amazon.com and other fine bookstores. The book covers eight programming languages equally (C#, Java, JavaScript, Perl, PHP, Python,...
-
A few years ago a wrote about about a bug in Internet Explorer's Regex engine that affected patterns with lookaheads. Well the bug came back in the form of a question on RegexAdvice.com. It too was a password regex, though not as complex as the previous...
-
First off let me say I'm a bit over my head here. Not regex part but host the language of the regex engine. Many moons ago I posted a blog article stating why you could not write a regex that validated an e-mail address 100% . Well this is still true,...
-
User Defined Function returns the numbers of days in month. It is very simple yet very powerful and full proof UDF. CREATE FUNCTION [dbo] . [udf_GetNumDaysInMonth] ( @myDateTime DATETIME ) RETURNS INT AS BEGIN DECLARE @rtDate INT ......... http://blog.joggee.com/?p=51...
-
Last June 19, 2007, at the Pearl Continental Hotel here in Lahore, I attended the Pakistan Developer Conference 2007. The speaker was Stephen Forte . He had shared the latest Database Training techniques on SQL Server 2005 and I would like to share these...
-
I am familiar with Goto Command since i was using Visual Basic 6.0. I wanted to prevent or bypass the execution in a stored procedure and i used the same command in Sql Server 2005. Some details:................ http://blog.joggee.com/?p=49 Share this...
-
If i feel this will help others i posted. The Continue statement skips the remaining statements in the loop body of a repetition statement and causes control to proceed to the next iteration of the loop. Code example for Visual Studio 2005 May 2004 Community...
-
Here is the single line of code for getting current webpage name. Dim pag As String.................... http://blog.joggee.com/?p=66 Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it!...
-
To shrink the Trucated Log file. Following code always shrinks the Trucated Log File to minimum size possible. USE Master --You can replace with the database name but if it doesnt --works then replace with master databas)..... http://blog.joggee.com/?p=65...
-
You can set timeout as your wish. ———————————————————————- <html> <script language="JavaScript"...
-
–Create a table with all bad codes DECLARE @mycode INT CREATE TABLE #badcodes ( badcode INT ) SET @mycode = 33 WHILE @mycode <= 255 ....................... http://blog.joggee.com/?p=52 Share this post: email it! | bookmark it! | digg it! | reddit!...
-
All we know SQL Server 2005 has new features are going to discuss in this article is the Row Number function and Partitioning. Normally developers used temporary tables and co-related sub-queries to generate calculated row numbers in a query. Now SQL...
-
Returns a null value. NULLIF returns the first expression if the two expressions are not equal. If the expressions are equal, NULLIF returns a null value of the type of the first expression. .......... http://blog.joggee.com/?p=57 Share this post: email...
-
So many friends ask me is there any way to clear all the break point and restore them In Visual Studio there are builtin functionality where by you can enable all the break point and disable all the break point.......... http://blog.joggee.com/?p=27 Share...
-
One in 10 web pages scrutinised by search giant Google contained malicious code that could infect a user’s PC Researchers from the firm surveyed billions of sites, subjecting 4.5 million pages to “in-depth analysis”. .......... http://blog.joggee.com/?p=31...
-
There are two ways to modify the format of the data in a Da tagrid/GridView. One is through the design view. Right click on the Grid View / DataGrid select Property Builder and Column view, under the selected column for which you wan to set the format...........
-
Last June 19, 2007, at the Pearl Continental Hotel here in Lahore, I attended the Pakistan Developer Conference 2007. The speaker was Stephen Forte . ........ http://blog.joggee.com/?p=34 Share this post: email it! | bookmark it! | digg it! | reddit!...
-
Today i received an email from one of my blog’s reader. Dear Code project, Actually I am a Biology teacher in one of the private school. I had prepared my lesson plan in a word document and a part of the lesson was a graph diagram. I then send it...
-
Using TODO, HACK, and UNDONE Comments TODO comments is really useful command. When you begin a comment with ToDo or TODO or however you want to capitalize it, you can then see this comment in your task list by changing the task list options. This is very...
-
I like sometime to read about project plannings. Got some complex pictures and posted The graphic to the right illustrates the flow of work and authority among roles in a possible website production organization of about 40 people........ http://blog.joggee.com/?p=72...
-
301 redirect is the most efficient and Search Engine Friendly method for webpage redirection. It’s not that hard to implement and it should preserve your search engine rankings for that particular page. If you have to change file names or move pages...
-
<asp:gridview id=”titlesGrid” runat=”server” datasourceid=”titles” width=90% cellpadding=5 font-size=”8pt” autogeneratecolumns=false headerstyle-backcolor=”maroon” headerstyle-forecolor=”khaki”...
-
In this article I will share how to retrieve hidden value from GridView Column. I had a assignment I need to show only description and not ID. Following are the steps taken to get it done............ http://blog.joggee.com/?p=77 Share this post: email...