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

Browse by Tags

All Tags » replace » javascript regular expressions
  • Find/Replace but ignore HTML tags

    Hi, I've got a javascript/regex scenario I was hoping to find a solution to.  Here’s the situation  We have been given the string "The quick brown fox jumped over the lazy sleeping dog." We want to replace it with "The large yellow tiger jumped over the lazy sleeping cat".  Normally this would ...
    Posted to Construction Advice (Forum) by beng on May 25, 2008
  • Back Reference Overwrites Changes

    I ran into an interesting situation where back references overwrite previous changes in a regular expression. I needed a regular expression that updated a pattern but also checked for something that comes before the pattern.  It should leave everything before the pattern as it was before the updates.  There can be multiple matches of ...
    Posted to Construction Advice (Forum) by AProgrammer on November 20, 2007