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

Browse by Tags

All Tags » regexp
Showing page 1 of 7 (62 total posts)
  • fetching attributes

    Hello, I'm looking for a pattern that extracts the attributes inside an html element string I came up with the following: /<font\s[^>]*face="(.*?)" size="(.*?)" color="(.*?)"[^>]*>(.*?)<\/font>/si  but what if not all 3 attributes face, font and size are required? is it possible to ...
    Posted to Construction Advice (Forum) by iCon on July 11, 2010
  • <font> to <span>

    I want to change a font element to an XHTML compatible variant. e.g. find <font face="arial" size="1" color="red" >hello world</font> replace <span style='font-family: arial; font-size: 1; color: red;'>hello world</span>   note: - the font attributes can change order - ...
    Posted to Construction Advice (Forum) by iCon on July 8, 2010
  • Trying to filter Screen Resolutions within Google Analytics

    I could really use some expert help. I’ve got this formula that will filter out just screen resolutions for mobile devices within Google Analytics, now I want to build a regex that filters screen resolutions  for ranges 600-800 and then another that filers 1024-1600 and another for 1600+ This way it will allow me to group my visitors ...
    Posted to Construction Advice (Forum) by Matt99 on December 3, 2009
  • Email and URL address regex help

    I'm needing to validate a email address, and website url's for user registration for my site. Here are the requirements for the Email 1. Email address must be between 9-50 characters long 2.  @ must be required Here is the rest of the requirements:  Email address must begin with alphanumeric characters a-z and 0-9 with ...
    Posted to Construction Advice (Forum) by subless on July 29, 2009
  • VBScript RexExp Replace a textstring only if not within tags <></>, possible?

    Hi, i got a dillema... for a company i need to make every occurence of it's company name to be in red and bold font. i have writen a simple function that i can call and filter all text database records Function companyName(inputText)  If inputText<>"" Then   companyName= ...
    Posted to Construction Advice (Forum) by RvdH on June 28, 2008
  • regex allowing only number and coma

    Hi, Can anybody helpme to create a regex that allow number and coma in between also we must allow only 10 comas in btween the nubmers.. ie. it wil be like 95,5,65,8,.... upto 10 numbers i can enter with coma seperated.. is it possible for that...???
    Posted to Construction Advice (Forum) by sajith on May 25, 2008
  • Need an expression to find all text between numeric identifiers

    Hello, I am using C# in Visual Studio 2008.  I have a text file of the entire Bible that I am wanting to either put into a database or write to an XML document.  The format of the text is as follows with comments in C# single line comment style to the right of the actual text (example: Genesis  //book ...
    Posted to Construction Advice (Forum) by RandyHJ on May 13, 2008
  • parsin html by using regex in c#

    <meta name="keywords" content="IBM 7976KAG SYSTEM X3400 QC 1.60GHZ 2GB 3X73,sunucular, server, markalı sunucular, markalı server, hp sunucular, hp, ibm, ibm sunucular, ibm server, century server, century sunucular"> <meta name="description" content="Fiyat:1879$+KDV | Kdv Dahil:2.877,95YTL | Havale ile %3 ...
    Posted to Construction Advice (Forum) by caglar26 on April 27, 2008
  • Need a regular expression for validating email which should exclude /|\;,<> and spaces

    Hi I need a regular expression for email validation, it should excldue the email addresses with the following special characters.  \|/,;<> and spaces. The rule for validating the email is : Email address must contain a single @, one or more periods, and any standard characters with the exception of spaces and the ...
    Posted to Construction Advice (Forum) by bvsuresh_reddy on March 19, 2008
  • HTML content, "grouped by" wrapped tags (for lack of a better term)

    Hey all, Before I start, I just want to say that below you will find a modifier of "U".  I know a lot of people say this should not be used, so if there is a way that my issue can be resolved where the U modifier won't be needed, great!  Language: PHP (4) Users submit content via a wysiwyg ...
    Posted to Construction Advice (Forum) by phxvyper on January 23, 2008
1 2 3 4 5 Next > ... Last »