|
|
Browse by Tags
All Tags » regex
Showing page 1 of 17 (162 total posts)
-
Hi guys,
I need a regex that will help me rewrite my TV shows
blog old posts. Until now I'm rewiting title using a php code that
construct "show name"."Season number"."x"."Ep number)"." - "."episode tiltle
for exemple No Ordinary Family 1x01 – Pilot
For a better use I need to ...
-
Several year ago I decided to learn
Regular Expressions. I had been skimming over an article about using
regex for validation on web pages. It was at least a couple of weeks
before I sat down an read the article in full. After I did I wanted
to try to write a regex on my one but couldn't think of anything
original. Eventually I wrote ...
-
Hi I am very new to regex but would like to construct something that will match on the word "Public" | "Private" | "Protected" and the following word (to grab the following word), unless the following word is not: void, string, int, bool. The bolded word matches can be any word except for the ones listed above
Sample ...
-
Hi,
Does any body have regex in C# to split tab delimited line. I also have a special requirement that if the tab space is in double quotes, it should not be considered as delimiter.
Ex1: First Second Third Fourth (there is a tab space between each word) should be splitted as First,Second,Third,Fourth,
Ex2: ...
-
Hi ~ This is my first time posting but am hoping someone can help me.
Working with javascript / jquery - Need to have a more precise regex for the following pattern:
Should I have the ignore case included? If so where?
X25b777s44K
The regex I have:
^([A-Z]?)(\d{2})([a-z]?)(\d{3})([a-z]?)(\d{2})([A-Z]?)$
Thank you for ...
-
Hi All,
Programming language is java, ide is eclipse..
The String is:
Armagh 1-11 | Dublin 2-12
Firstly I want to get jus the "Armagh" string, the the "1", the the "11", then the "Dublin", then the "2", then the "12".
The strings will be subject to change so I ...
-
I am developing asp.net c# web application and I want an expression that will get only numerical value of a custom tag.
Example tag: <MyTag MyTagId="123">
I need an expression that will extract 123 from MyTagId attribute of MyTag.
Your help will be highly appreciated.
Thanks.
-
Ok so I have a rather slow algorithm that I would really love some advice to speed up! It may repeat many times over different large data strings. The string 'data' contains "variables" (denoted by ${myVarName} in the data) that must be replaced with the value of the corresponding (either by id or name) element on the html page. ...
-
I have CSV files that contain double quoted columns with embedded commas. I'd like a command line utility I can call w/the relevant regex to remove them, but I can put that together if I can get the right regular expression. I'm close, but it only seems to work on a single line file using grepWin for testing.
The regex have ...
-
I have a fields that looks like this
<div class="some">
<h2>title</h2>
<p>text text</p>
<table>
<tr class="some1"><td>data1</td><td>d1 ...
1 ...
|
|
|