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

Browse by Tags

All Tags » how to match
  • Advanced HTML Tags Matcher

    Hello, I'm trying to extract all html tags from a string using PHP. I use the following regexp:  /<[^>]+>/i If the string contains "<img src="image.jpg"><span id="spanID">Text Here</span>" the regex gives me the desired result. However if I have a string like: "<img ...
    Posted to Construction Advice (Forum) by liviu on October 20, 2008
  • Breaking text into parts at keywords

    Dear colleagues, I like to parse a text and split it at specific keywords (e.g. k1 or k2). I'll use it in a .NET application like MatchCollection matches = Regex.Matches (sSrc, sRegEx); but for testing I am using RadSoftware Regex-Designer. My sSrc is something like: "k1 blakblak\r\nblakblak k2 blablabla k1 data3 k2 ...
    Posted to Construction Advice (Forum) by Thomas_ on August 27, 2008
  • Complex Name Matching Assistance

    I wrote a VB.NET application that parses airline passenger data using Regular Expressions.  The passenger's last name appears first followed by a slash.  There can be many different data items after that.  In the airline data, the passenger name format is: [] = optional -[Number]Last Name/First Name/Initial [Middle ...
    Posted to Construction Advice (Forum) by brianbos on November 6, 2007
  • pl-sql analyzer (how to match comments and strings)

    I am a new bie of reg-ex and i try to code a pl-sql syntax analyzer program using reg-ex with C#.NET.   I want to construct a regular expression to match comments and strings in pl-sql like this;         1: public static Regex sqlString = new Regex(@"'.*'", ...
    Posted to Construction Advice (Forum) by mucar on July 18, 2007