« first day (1 day earlier)    last day (3791 days later) » 

5:45 PM
ka ᵠ has made a change to the feeds posted into this room
 
6:03 PM
0
Q: Conditionals and regex

nutshipThe problem is how to implement conditions with regex. We have got this: regex = '"Tom":{"c":(.+?),"b":(.+?),"a":(.+?)}|"Tom":{"a":(.+?),"c":(.+?),"b":(.+?)}' We want to do different things to the regex based on which regex expression will be found. How do we encounter this? How do we access t...

0
Q: Javascript Regular expression for image file to FileUpload control in asp.net

ganesh jangamI am trying to verify image file which is choose by user in FileUpload control in web page at client side by using javascript. Can anybody tell me how can i make it. I am trying this code for that which is not working : function validateFileExtension() { var re =/\.(gif|jpg|JPEG|tiff|png)$/...

0
Q: ASP/C# regex for youtube video

user2151976I'm having problems adjusting my Regex originally used with Javascript to use with ASP.NET Regular Expression Validator Control. I'm currently using: (?:https?://)?(?:www\\.)?(?:youtu\\.be/|youtube\\.com(?:/embed/|/v/|.*v=))([\\w-]{10,12})($|&).* but it doesn't work. (Always returns valid...

0
Q: html src regexp iOS

hajderNeed some hints on this simple regexp. Regexp and target string code for extracting src from < img src="..." /> NSString *imgTag = @"<img alt=\"\" src=\"/sites/default/files/mypic.gif\" style=\"width: 300px; height: 195px;\" />"; NSRegularExpression *a = [NSRegularExpression regularEx...

0
Q: Vim: Delete all text surrounded by a start and an end

PyrobisqitSay I've got this: \item[1]\footnote{«footnote blah blah»} footnote blah blah. \item[2]\footnote{«blah blah footnote»} random text \item[3]\footnote{«this is not»} more random text I want to quickly delete \footnote{*} (that includes \footnote{«footnote blah blah»} \footnote{«blah ...

 
6:14 PM
ka ᵠ has made a change to the feeds posted into this room
 

« first day (1 day earlier)    last day (3791 days later) »