|
|
Browse by Tags
All Tags » how to match
-
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 ...
-
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 ...
-
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 ...
-
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(@"'.*'", ...
|
|
|