Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged regex

0 votes
712 views
1 answer
    In PHP I have the following string : $str = "AAA, BBB, (CCC,DDD), 'EEE', 'FFF,GGG', ('HHH','III'), ... { $stack[] = $buffer; } return $stack; } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I never used regex before. I was abel to see similar questions in forum but not exactly what im looking for I ... = Regex.Split(s, pattern); See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
504 views
1 answer
    I'm trying to match the contents that belong between a certain ( and its matching ) as found by vim when ... contents may span several lines. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
646 views
1 answer
    I need a regular expression to find any words containing the letter "y". This was my idea: /w*[y]w*/ ... words containing a y within a string? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
598 views
1 answer
    I need a regular expression that accepts only Greek chars and spaces for a name field in my form (PHP). I' ... . Any help will be appreciated. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
898 views
1 answer
    I would like to validate a hostname using only regualr expression. Host Names (or 'labels' in DNS jargon) ... Expression to validate hostname ? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
849 views
1 answer
    I am wondering, how would regular expression for testing correct format of number for German culture would look ... followed by comma separator See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
407 views
1 answer
    I'm making progress but not quite sure how to get this working right... I have a contenteditable div which ... the entire content of the div? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
607 views
1 answer
    I have a large text file I am reading from and I need to find out how many times some words come up. For ... now my issue is with the regexp. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
664 views
1 answer
    I would like a regular expression to match a valid absolute Windows directory path, where directory names can ... spaces. Thanks in advance! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
578 views
1 answer
    Looking for a string to pass to String#matches(String) that will match IPv4, and another to match IPv6. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
683 views
1 answer
    I was trying out to create a regular expression to match file path in java like C:abcdefghiabc.txt I tried this ( ... . Pls help me . Thanks See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
634 views
1 answer
    I have such regexp: re.compile(r"((https?):((//)|(\\))+[wd:#@%/;$()~_?+-=\.&]*)", re.MULTILINE| ... .com/something/!!! and I want to avoid that. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
905 views
1 answer
    relative python newbie here. I have a text string output from a program I can't modify. For discussion lets say ... Any ideas on how to proceed? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
622 views
1 answer
    I have a string that has the value of name:score. I want to split the string into two strings, string a ... the data into two separate strings. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
476 views
1 answer
    I have a number of regular expressions regex1, regex2, ..., regexN combined into a single regex as regex1|regex2| ... match a prefix of regexL? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
477 views
1 answer
    I'm trying to do something but can't remember/find the answer. I have a list of city names from the Census Bureau ... 3L), class = "data.frame") See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
552 views
1 answer
    When answering this question (and having read this answer to a similar question), I thought that I knew how Python ... 't seem to suggest that. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
458 views
1 answer
    From an external source I'm getting strings like array(1,2,3) but also a larger arrays like array("a", "b" ... what) or is there some other way? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
664 views
1 answer
    There are quite a few results for add trailing slash .htaccess on Google, but all examples I found require ... mod_rewrite the domain name? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
666 views
1 answer
    How do I, using preg_replace, replace more than one underscore with just one underscore? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
782 views
1 answer
    I'm trying to match some whole-word-expressions with the MySQL REGEXP function. There is a problem, when there are ... 1? Or is this impossible? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
590 views
1 answer
    Is it possible use regex to remove small words in a text? For example, I have the following string (text) ... any other python function? Thanks. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
514 views
1 answer
    I have the following htaccess rewrite rules. The one rule condition to prevent looping was originally written this way: ... /index.php [NC,L] See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
517 views
1 answer
    Let's say I had the string "[1,2,[3,4,[5,6]],7]" How would I parse that into the array ... that does not require external libraries if possible) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
549 views
1 answer
    Suppose there is a large text file and I would like to print only the lines that do not match some patterns. ... read patterns from the file ? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
560 views
1 answer
    Id like to know how I can covert a string into a pascal case string in javascript (& most probally regex). ... for further info on Pascal Case See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
707 views
1 answer
    I am working on a Spring application and in JSPX page I need to dynamically load some values from properties page ... hence I am using regex. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...