Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » PHP
Showing page 1 of 10 (91 total posts)
  • PHP eregi() time format validation (hh.mm)

    Hello, I am currently adapting the great supercali event calendar to my needs. For german readers I'd like to use the common time format  hh.mm The input field containing the time value is checked as follows:    if(($time_lang_mode == "en_us"     && eregi ...
    Posted to Construction Advice (Forum) by pexxll on September 9, 2008
  • [quote] forum's tags stripping recursively

    Hello All. you know there are many forums using a quote bb code like this [q uote] some quote [/q uote] I know how to match it but the problem is it can be nested and I do not know how to match it recursively. some text [q uote] some quote [q uote] some nested quote [/q uote] some [q uote] some nested quote [/q uote] quote [/q uote] some ...
    Posted to Construction Advice (Forum) by imei on September 7, 2008
  • only the word coming after a value (PHP)

    Hi, I am learning regex nowadays. Now, i am stuck because i cant find how to do it anywhere. I need to retrieve a word coming after a value. For example, i need to retrieve the value of the PPFT below: <input type="hidden" name="PPFT" id="i0327" ...
    Posted to Construction Advice (Forum) by sayim on August 24, 2008
  • BBCode conversion

    Hi, I asking for help in my PHP code optimization. I try to rewrite my old/slow BBCode conversion function to use regex. The allowed BBCodes are [ b]text[ /b] [ i]text[ /i] [ url]domain.com[ /url] or [ url]domain.com|domainname[ /url] [ img]filename.ext[ /img] or [ img]filename.ext|description[ /img] It is possible to construct ...
    Posted to Construction Advice (Forum) by pandor on August 23, 2008
  • Uncommon URL pattern retrieval

    Hi, Anybody out there, I'd be immensly greatful if you helped me fix one regular expressions of mine. Basically I've written a regular expression in PHP identifying a pattern of a certain type of URL REGEX: /(http\:\/\/dx\.doi\.org\/.*?)(\s|$|;|>)/ it will catch strings of URLs from the 'http://dx.doi.org/' domain, looking ...
    Posted to Construction Advice (Forum) by ksyandagger on August 19, 2008
  • php: keep only url from <a href>

    Hi there, I tried finding the information first on regexlib.com but didn't find my exact answer. In php I'm trying to make the http:// part of links visible in a html document, and I got something that works *almost* every time, but sometimes it gives bad results. I was wondering if someone here could help me out? Thanks in ...
    Posted to Construction Advice (Forum) by frank peeters on August 7, 2008
  • SQL SERVER - UDF - User Defined Function - Get Number of Days in Month

     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  
    Posted to BLOG.JOGGEE (Weblog) by joggee on July 9, 2008
  • Stephen Forte's Database Training

    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 techniques and updates because of its simplicity and for everybody to be ...
    Posted to BLOG.JOGGEE (Weblog) by joggee on July 9, 2008
  • SQL Server 2005- How to prevent Execution - Goto (T-SQL)

    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
    Posted to BLOG.JOGGEE (Weblog) by joggee on July 9, 2008
  • New Feature in VB.NET 2005 - The Continue Statement,Next iteration

     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 Preview ` // Continue Statement in Visual Basic 8.0 ` For using ...
    Posted to BLOG.JOGGEE (Weblog) by joggee on July 9, 2008
1 2 3 4 5 Next > ... Last ยป