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

Browse by Tags

All Tags » backreference
Showing page 1 of 2 (11 total posts)
  • Re: Multiple letter Word

    Sorry for not mentioning the programming language.  I am using PHP.    But the above examples still do not specifically match strings that have three consecutive letters, instead they just see if there are three letters in that string and then print that string if therer is a match.    Again, what would be the regex ...
    Posted to Construction Advice (Forum) by lazukars on September 3, 2008
  • Anomaly Filtering

    Hello, this is my first post so bear with me. I made a quick search through the forum and found nothing, so any feedback is appreciated. Recently I have been studying spam using regular expressions in a mail proxy called SpamPal to cleanly divide each message into folders that best describe their characteristics. I feel I grasp the basics of the ...
    Posted to Construction Advice (Forum) by Synq on March 15, 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
  • Meta-regex to find fixed length of regex match (XSLT)

    In the context of the regex dialect of XSLT 2.0, I am looking for two "meta-regexes" that analyse other regexes. Each is discussed in a part of its own. (Part 1 posted as: Meta-regex for variable-length matching regexes (XSLT)) Part 2 Aim: A regex that provides for pre-calculating the length of the match that a fixed-length matching ...
    Posted to Construction Advice (Forum) by yvesforkl on October 2, 2007
  • Meta-regex for variable-length matching regexes (XSLT)

    In the context of the regex dialect of XSLT 2.0, I am looking for two "meta-regexes" that analyse other regexes. Each is discussed in a part of its own. (Part 2 posted as: Meta-regex to find fixed length of regex match (XSLT)) Part 1 Aim: A regex that would identify all those regexes that might yield matches of varying length, as ...
    Posted to Construction Advice (Forum) by yvesforkl on October 2, 2007
  • Regular Expression that matches a string containing a delimited list of digits

    I need a regex that matches a string containing a delimited list of digits.  While this seems fairly straightforward, the following requirements must be met: 1)  Any number of spaces that occur before or after a delimiter should be accepted (e.g.  '3   ,   9   ' is OK) 2)  The string can ...
    Posted to Construction Advice (Forum) by jd98 on August 29, 2007
  • Backreference in square brackets

    String: cxaaz0a9mmm Pattern ([ab])\1 returns 1 match aa Pattern ([ab])[\1] returns no mathches (expected: as above) Pattern ([ab])[^\1] returns 2 matches aa and a9 (expected and wanted: 1 match a9) Please explain why single-character backreference does not work as expected [by myself :-( ] and give me recommendation how to match ...
    Posted to Construction Advice (Forum) by imakedon on July 24, 2007
  • Find first previous string NOT all previous occurances

    In the following string: <div class="x" bla bla bla <div class="x" bla bla bla <div class="x" bla bla bla EXAMPLE STRING  I want to match: <div class="x" bla bla bla EXAMPLE STRING NOT <div class="x" bla bla bla <div class="x" bla bla bla <div ...
    Posted to Construction Advice (Forum) by LarryEitel on June 9, 2007
  • Re: How to ignore a word in between ?

    How can you explain me how to use backreference in above context..I am bit new to R.E.  Thanks
    Posted to Construction Advice (Forum) by ankitjain on May 10, 2007
  • Re: Need help trying to find a certain pattern

    Okay, I'll try to help. Please consider being more specific next time. First of all here's your text again, in monospace this time: -------------------- Approver Information -------------------- Approver Interfac Linked Heir Notifier User List Typ Entity Approver Approver Order Type List -------- -------- -------- ...
    Posted to Construction Advice (Forum) by eSquire on May 3, 2007
1 2 Next >