20 posts tagged with regex. (View popular tags)
Displaying 1 through 20. Subscribe: http://ask.metafilter.com/tags/regex/rss RSS feed for this tag

Related tags:
+ (5)
+ (4)


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 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 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 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 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 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 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 on Dec 5, 2006 - 4 answers

Regex assistant for redirecting affiliate links. [more inside]
posted 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 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 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 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 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 on Jan 5, 2006 - 6 answers

Perl regular expression question inside. Trying to parse a list of items... [more inside]
posted 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 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 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 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 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 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]
posted on Jul 7, 2004 - 3 answers