? How do I use a variable as a regex modifier in perl?

I'm writing an abstraction function that will ask the user a given question and validate the answer based on a given regular expression. The question is repeated until the answer matches the validati
 ? R - Inserting variable number of spaces into postcode string

I have a set of UK postcodes which need to be reformatted. They are made up of an incode and an outcode, where incode is of the form 'number letter letter' e.g. 2DB and the outcode is a combination of
 ? Python 3 Pandas Select Dataframe using Startswith + or

Looking for the correct syntax to do a str.startswith but I want more than one condition.The working code I have only returns offices that start with the letter "N":new_df = df[df['Office'].str.starts
 ? Regular Expression for alphanumeric and underscores

I would like to have a regular expression that checks if a string contains only upper and lowercase letters, numbers, and underscores. To match a string that contains only those characters (or an e
 ? Apache 2.4 query string with regex

Ok...trying to get a leg up on the new way of writing SSI in 2.4 Any of the SSI gurus out there that can help....I would really appreciate it.I have this code that works with SSILegacyExprParser onhtt
 ? How do I use regex in a SQLite query?

I'd like to use a regular expression in sqlite, but I don't know how.My table has got a column with strings like this: "3,12,13,14,19,28,32"Now if I type "where x LIKE '3'" I also get the rows which c
 ? htaccess, Regex, Rewrite URL

hmm I have a problem with my .htaccess, I wanted to rewrite this: http://domain.com/a/thread-103518.html#103518to this http://domain.com/a/103518In other words... I want to delete the "thread-" and
 ? How do I make a regex match a query string?

I'm working on a simple router, and I need to be able to identify if there's a query-like structure at the end of a URL address.What I came up with:(\?([^&=]+)=([^&=]+)&?)+$simply does not
 ? IIS Url Rewrite Module - Error with plus add character

I have a problem using + (plus add) character in iis url rewrite module.I need to rewrite:http://www.example.com/search/test1+test2inhttp://www.example.com/search/?q=test1+test2Url rewrite module basi
 ? Regex multine replacement perl

Posting this question after confusing people yesterday with a slightly sloppy prior version which didn't include sufficient information.The questions is, I think, a fairly easy one but I am providing
 ? How do I match any character across multiple lines in a regular expression?

For example, this regex(.*)<FooBar>will match:abcde<FooBar>But how do I get it to match across multiple lines?abcdefghij<FooBar> It depends on the language, but there should be a
 ? How to pattern multiline XML using RegEx in NXLog

I am trying to parse a custom log file into JSON using the nxLog parser to_json() so that I can then ship them into my ElasticSearch instance. I am going to be splitting these into three separate fiel
 ? perl regex multiline

I am trying to write a perl script that replaces a few lines of text with a few other lines, I am a perl newbie, appreciate any help.Need to replace 'ENTITLEMENT_EVS_V',NULL,NULL,with:'ENTITLEMENT_EVS
 ? perl regex multiline

I am trying to write a perl script that replaces a few lines of text with a few other lines, I am a perl newbie, appreciate any help.Need to replace 'ENTITLEMENT_EVS_V',NULL,NULL,with:'ENTITLEMENT_EVS
 ? perl regex multiline

I am trying to write a perl script that replaces a few lines of text with a few other lines, I am a perl newbie, appreciate any help.Need to replace 'ENTITLEMENT_EVS_V',NULL,NULL,with:'ENTITLEMENT_EVS
 ? Perl multiline regex

I have a file full of json objects to parse, similar to this one:{"_id" : ObjectId("523a58c1e4b09611f4c58a66"),"_items" : [ { "adGroupId" : NumberLong(1230610621), "keywordId" : Numbe

Page 1 of 331  |  Show More Pages:  Top Prev Next Last