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

Browse by Tags

All Tags » find replace
Showing page 1 of 3 (22 total posts)
  • noobe question on text extraction

    hi there I am wanting to extract sku code from image url that has two patterns. In the first case the image url ending pattern is as follows /images/uploads/19113604-5.jpg /images/uploads/19113604-4.jpg /images/uploads/19113604-3.jpg  and I use regex (?<=\buploads/)(\w+) $1 this results in 19113604 which is what I want. ...
    Posted to Construction Advice (Forum) by uzi on March 14, 2010
  • 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
  • Changing order of text in file names (regex rename operation) [SOLVED]

    Hi folks, I have about 230 mp3 files I wish to change the file naming on so that they sort better. I need to find some text (specifically "Pt.1" or "Pt.2" or "Pt.3" or "Pt.4" etc.), remove it, and then add text to the end in the format " - Part 1", or " - Part 2" etc. Currently files ...
    Posted to Construction Advice (Forum) by jonathan33 on October 26, 2008
  • Replacing text with matched text from same string

    Hello, I need help on matching and replacing text with different matched text from same string. My goal is to be able to batch process a large set of text files that each have similar patterns and replacement criteria. Below is an example of a typical case. In the example below, BOLD text replaces strikeout text: TITLE: Beautiful Losers - ...
    Posted to Construction Advice (Forum) by dhl on August 15, 2008
  • Replace bgcolor attributes with a style in any html tag

    Hi guys,   Sure this is probobly simple but my head just can't get around this issues... I'm trying to parse the HTML to start replacing/removing problem tags to meet W3C AA compliance and various other requirements. The first one i'm working on is removing the 'bgcolor' attribute of any table/tr/td tag. But using the ...
    Posted to Construction Advice (Forum) by PommyTom on July 4, 2007
  • RegEx Help - Replacing hrefs

    OK. Stick with me here. It is going to take me a few to explain this. I am writing a small application in VB.NET. The ultimate task is to make a web browser, within a web browser. Basically, You open IE, FireFox, Safari, or whatever browser you like and go to the web application I am building. At the top of the web page, I have a tool bar, ...
    Posted to Construction Advice (Forum) by TampaWebDevelopment on June 27, 2007
  • HTML: removing all tags between a specific tag

    Hello: I have thousands of HTML files in my site and I want to remove all tags inside the H1 tag. For example: In this case, I want to remove the following tags and their content <a><b><font> <h1 ALIGN="CENTER"><b><font>The best search engine is<a ...
    Posted to Construction Advice (Forum) by liso on May 16, 2007
  • CSS Matching

    I am working in Coldfusion trying to match CSS items that are NOT listed. For instance, I have this code to match:    <div style='color:#444444;float:none;'>Test Text</div>   I have the code matched down to:    color:#444444;float:none;   My regular expression to match CSS items ...
    Posted to Construction Advice (Forum) by jimbo2150 on April 16, 2007
  • Look ahead and Look behind

    I've been trying to match the pattern below for about a week and can't seem to get it right. I need to match a specific string that is not hyper-linked or enclosed in brackets.I'm sure the code below won't match what i need. It's simply to illustrate what i'm aiming to accomplish: [^\{] word here[^\} ]  Any ...
    Posted to Construction Advice (Forum) by emarket78 on March 31, 2007
  • Re: Regex to search and replace text

    Please read the forum post guidelines before posting next time. There is very little information given here. I will assume a few things here. Firts that you only want to blank out that line and not the rest of the file. With this sample data 1 omfg woot oh yeah 2 w00t yeah 3 omfg blah blah 4 w00t yeah 5 w00t yeah 6 w00t yeah 7 omfg gone gone ...
    Posted to Construction Advice (Forum) by Brendan on March 13, 2007
1 2 3 Next >