33 posts tagged with regex. (View popular tags)
Displaying 1 through 33 of 33. Subscribe:
How do I use regular expressions to express "at least one of each of these, but not necessarily in this order"? [more inside]
posted by specialagentwebb
on Nov 18, 2009 -
17 answers
Regular Expressions: How can I get my two subexpressions to match repeatedly? Right now my pattern matches the first instances but refuses to match anything after it. [more inside]
posted by cowbellemoo
on Jul 12, 2009 -
6 answers
Regular expression puzzle time! [more inside]
posted by delladlux
on May 4, 2009 -
9 answers
I'm a librarian who uses Yahoo Pipes in combination with RSS feeds for new books from Amazon to order books. The title tags in each individual item begin as in this example: "#1: A. Lincoln: A Biography". I would like to add a regex expression that will strip out the ranking (#1: or #10:) out of the title so that I can sort the book titles. What I want to remove is the # sign, the ranking number (one or two digit number), and the colon. Any help would be appreciated.
posted by jingo74
on Apr 3, 2009 -
4 answers
I'm trying to use Regular Expressions in Textmate to do a Find/Replace. The goal: Find id="1", id="2", id="3", etc. and Replace with a value of +14, so that I replace yields id="15", id="16", id="17" etc. Thank you! [more inside]
posted by pinto
on Mar 18, 2009 -
14 answers
My redirect regex doesn't work. How can I fix it? [more inside]
posted by kirkaracha
on Feb 2, 2009 -
8 answers
I have a .csv of names and email addresses in the format: email,firstname,lastname. Some of the names are in ALL CAPS, some are Properly Capitalized. Is there a way to fix the ALL CAPS names in one fell swoop using BBEdit? I'm not a grep/regex guy, so I appreciate your help.
posted by griseus
on Jan 19, 2009 -
10 answers
Regular Expressions / PHP preg_replace problem. Can this be made to work...? [more inside]
posted by twine42
on Oct 30, 2008 -
13 answers
regex question. I want to take a list of lines that look like this:
This Here is a Title one or more words long / www.something.com
and turn it into a list of lines that look like this:
<a href="http://www.something.com/" title="This Here is a Title one or more words long"> </a>
I have no idea how to do this, though.
posted by Grod
on Sep 10, 2008 -
12 answers
Conditional search engine selection in Firefox search box based on contents (in particular, character set) of the search query? [more inside]
posted by qvtqht
on Aug 7, 2008 -
5 answers
I’m at the end of my rope trying to figure out how to write a find/replace expression in MS Word (syntax is similar to regex) [more inside]
posted by agent99
on Jul 7, 2008 -
6 answers
RegExFilter: Can any regular expression ninjas help me with my this teensy problem? [more inside]
posted by ReiToei
on Jun 18, 2008 -
6 answers
Not quite getting how mod_rewrite regex works when flatting urls with multiple variables. [more inside]
posted by Jezztek
on Jun 10, 2008 -
5 answers
How can I find a drop-dead simple way of creating Regular Expression strings without having to learn all the underlying mechanics? [more inside]
posted by jmnugent
on May 12, 2008 -
35 answers
[Search/replace filter] Is there a free (or really cheap) software that would let me do a batch search and replace where the name of the file is used as pasted text? [more inside]
posted by domi_p
on Apr 8, 2008 -
14 answers
Help me composite some regex.
(That phrasing makes this question sound way less nerdy than it is) [more inside]
posted by ChasFile
on Dec 28, 2007 -
13 answers
301 redirectrs in .htaccess: how do I redirect calendar/* to /calendar.html ? I've tried modifying various examples online and they result in either "internal server error" or a 404 caused by incorrectly redirecting /calendar/* to /calendar.html/* . [more inside]
posted by Tuwa
on Mar 13, 2007 -
12 answers
What's a regular expression to match and replace space characters between curly braces with under scores? [more inside]
posted by pealco
on Jan 21, 2007 -
20 answers
Regex experts: I need a regular expression to help trim some lines in a text file. I haven't done regex in some time and I'm not having any luck with this. Hope it'll be easy for a wiz. [more inside]
posted by Tubes
on Dec 14, 2006 -
10 answers
Could someone please help me make my php regex less greedy? I need to insert code for an onclick event into the midst of a bunch of tags, and can't get it to work. [more inside]
posted by teaperson
on Dec 5, 2006 -
4 answers
Regex assistant for redirecting affiliate links. [more inside]
posted by ao4047
on Sep 27, 2006 -
6 answers
I'm trying to write a regex that gets passed into a java class to validate that a file is in a certain directory structure. [more inside]
posted by toomuch
on Apr 11, 2006 -
3 answers
Probably easy question about PHP and unicode (UTF-8) and RegEx. I'm trying to modify a php webcalendar (VTcalendar) to allow Japanese text in calendar postings. I've found all the variables to get the UTF-8 headers, and so japanese text manually inserted into pages appears fine. But, there's an input validation thingy I don't know how to modify. (short snippet inside) [more inside]
posted by planetkyoto
on Mar 29, 2006 -
4 answers
Regex Madness...filter. How do I pull the text out of an html document without looking at the tag attributes? [more inside]
posted by ph00dz
on Mar 26, 2006 -
26 answers
Regexfilter: I'm using PHP and I want to match HTML span classes recursively/in a hierarchy. Help/pointers would be much appreciated. [more inside]
posted by PuGZ
on Jan 8, 2006 -
5 answers
HtAccessFilter: I’m seeking regular expressions to describe URLs that encompass search engines’ image and video search engines, but not the engines themselves, so that I can block said image and video search engines using “SetEnvIfNoCase Referer” in .htaccess. Also, I’m also seeking to block all incoming requests for one particular URL which is popular with these video and image search engines but which no longer exists – but I don’t want to serve them the normal 404. [more inside]
posted by WCityMike
on Jan 5, 2006 -
6 answers
Perl regular expression question inside. Trying to parse a list of items... [more inside]
posted by pornucopia
on Dec 21, 2005 -
8 answers
RegexFilter: I want to strip out all HTML from a string except for approved tags of B and I. [more inside]
posted by xmutex
on Dec 13, 2005 -
25 answers
I have a bunch of directories of static HTML files in which I need to:
-> Find A
-> Find B
-> Replace A with B
-> Save, close, repeat with every one of the 500 or so files.
Anyone got an idea? [more inside]
posted by TiggleTaggleTiger
on Aug 29, 2005 -
21 answers
Well, what do you know, err.. what do I know, Google does support some sort of regular expressions. However, I can't find the usage guide. Anyone?
posted by Gyan
on Jul 28, 2005 -
11 answers
I'm looking for a home closer to my work, and I'm trying to be systematic about it. My plan is to scrape online real estate databases and put them into a spreadsheet, then start ranking and comparing. [more inside]
posted by craniac
on Jul 13, 2005 -
8 answers
I've got a problem. There is this ASP website that has gone down for repairs. I've got a wget of the whole site and i need to put the mirror back up on the internet. I've got Os X, and Developer tools installed, etc. I need a shell script to help me get this done. [more inside]
posted by Freen
on Apr 1, 2005 -
4 answers
Using wildcards in virtusertable for sendmail: resources, pointers, and simple examples, please. Google-fu fails to provide examples that answer my questions. [emm eye] [more inside]
posted by mwhybark
on Jul 7, 2004 -
2 answers