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

Browse by Tags

All Tags » regex » javascript
  • Full Circle - JavaScript Date validation with regex

    Several year ago I decided to learn Regular Expressions. I had been skimming over an article about using regex for validation on web pages. It was at least a couple of weeks before I sat down an read the article in full. After I did I wanted to try to write a regex on my one but couldn't think of anything original. Eventually I wrote ...
    Posted to Michael Ash's Regex Blog (Weblog) by mash on November 1, 2011
  • Optimizing a string replacement algorithm in javascript

    Ok so I have a rather slow algorithm that I would really love some advice to speed up! It may repeat many times over different large data strings. The string 'data' contains "variables" (denoted by ${myVarName} in the data) that must be replaced with the value of the corresponding (either by id or name) element on the html page. ...
    Posted to Performance (Forum) by floss on May 9, 2011
  • match optional fields

    I have a fields that looks like this <div class="some">   <h2>title</h2>    <p>text text</p>     <table>         <tr class="some1"><td>data1</td><td>d1 ...
    Posted to Construction Advice (Forum) by Aradiv on March 9, 2011
  • Regex Expert Job at CISCO in San Jose, California

    Our Security Technology Business Unit is looking for Senior Software Engineer that is an expert in Regular Expressions, JavaScript and Rewrite Engine. Please let me know if you can recommend anyone.   Thanks in advance, Brent     Senior Software Engineer (Rewrite Engine, Regular Expression, Parsers, JavaScript) Location – ...
    Posted to Announcements (Forum) by Brent Rogers on February 22, 2011
  • Adding string within url

    Hi, I'm trying to construct a javascript code to be used as a bookmark in my browser. A click on the bookmark should add a string to the url of the currently shown web site. For example, the site should become So far, I have following code to be ...
    Posted to Construction Advice (Forum) by pod-o-mart on April 13, 2010
  • check the brackets by regexp

    Hi I want a regexp to check that every open parenthesis has a closed parenthesis. thank you in advance
    Posted to Construction Advice (Forum) by devMan on December 16, 2009
  • IE6 regex compatibility issue

    This is about a strange behavior IE shows for a regex matching Im trying to do. Here is a password matching expression Im trying to use for matching the below conditions. Must contain minimum 8 to 20 characters, mandatorily including one letter and number May include only one of the following special characters: %,&, _, ?, ...
    Posted to Platform Differences (Forum) by mays on December 15, 2009
  • Date increment

    Hi all, first post, so I hope I'm posting this correctly. I need to increment the hour in JavaScript by 1 (i.e. I need to get the current hour, add an hour, and then return the answer). An example of the string is as follows (the hour is bolded): 2009-05-18T16:15:00Z I'm re-learning RegEx after not visiting it for years, so I'd ...
    Posted to Construction Advice (Forum) by regexn00bpain on May 18, 2009