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
976 views
1 answer
    I have developed an Excel 2010 VBA Macro that makes use of VBScript.RegExp. One of my users is apparently using ... with both Windows and Mac? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
750 views
1 answer
    For example, match "Nation" in ""???ér???????????????" without extra modules. Is it possible in new Perl versions ... ", $str =~ /$look/i || 0; See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
680 views
1 answer
    I got a file which includes many lines of plain utf-8 text. Such as below, by the by, it's Chinese. PROCESS: ... me, I got no clue whatsoever. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
665 views
1 answer
    I need to parse sentences from a paragraph in Python. Is there an existing package to do this, or should I be trying to use regex here? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
620 views
1 answer
    I have a Project model and it has some text attributes, one is summary. I have some projects that have ... models? Thanks, Nicolás Hock Isaza See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I am trying to extract all the sentence containing a specified word from a text. txt="I like to eat apple. Me ... apples."] Any help please ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
677 views
1 answer
    I would like to check whether some string match any of a given set of regexes. How can I do that? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I've to add numbers incrementally in the beginning of every line using Notepad++. It is the not the very ... notepad functions to do so. Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
733 views
1 answer
    I'd like a regexp or other string which can replace everything except alphanumeric chars (a-z and 0-9) from a string. ... a-z, 1-9, .. Ideas? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
835 views
1 answer
    For school I'm supposed to write a Python RE script that extracts IP addresses. The regular expression I'm ... making some kind of mistake? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I have this regex of mine that will check the string if it contains link or url (i.e. https://eslint.org ... the regex. Appreciate for any help! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
634 views
1 answer
    I know JavaScript can open a link in a new window but is it possible to open a webpage without opening it in ... I can achieve this. Thanks all See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
896 views
1 answer
    how do i convert PT2H34M25S to 2:34:25 I searched and used this code. I'm new to regex can someone explain ... return $hours.':'.$minutes; } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Is there a way to limit a regular expression to 100 characters WITH a regular expression? [size=(.*?)](.*? ... allow numbers between 1 and 100. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
604 views
1 answer
    I want to compare and substitute strings present in different lines in unix For example I have a file with two ... explain how we can do this See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
539 views
1 answer
    [I have moved the csv file into Linux system with binary mode. File content of one field is spitted into ... format should not change" ]2 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
654 views
1 answer
    I'd like to get the single strings of a pipe-separated string, with "pipe escaping" support, e.g.: ... that goal with a regular expression? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
785 views
1 answer
    I couldn't understand why this regular expression, re.findall(r"(do|re|mi)+","mimi rere midore"), ... two regular expressions? Thank you. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
762 views
1 answer
    I need a regular expression to match phone numbers. I just want to know if the number is probably a phone number ... too swift on RegEx stuff :) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
527 views
1 answer
    I have a dataframe that is in this format: A <- c("John Smith", "Red Shirt", "Family values are better" ... what I want. Any suggestions/help? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
570 views
1 answer
    Since In October 2009, the Internet Corporation for Assigned Names and Numbers (ICANN) approved the creation of ... validate them by RegExp? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
924 views
1 answer
    Using sed, how do I return the last occurance of a match until the End Of File? (FYI this has been ... type one Error: error type two See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
796 views
1 answer
    In a managed bean I have a property of the type int. @ManagedBean @SessionScoped public class Nacharbeit ... ValidateRegex only for Strings? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
766 views
1 answer
    String to be split abc:def:ghi:klm:nop String should be split based on ":" "" is escape character. So ":" ... [nop] How can the : be ignored See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
561 views
1 answer
    I am trying to use R to parse through a number of entries. I have two requirements for the the entries I want ... using R to do this? Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
776 views
1 answer
    If I have a directory structure like this yyyy/dd/mm/<files> Is there a way to grep for a string in all ... Or would it not make a difference? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
533 views
1 answer
    Is there an accepted way to deal with regular expressions in Ruby 1.9 for which the encoding of the input is unknown ... a better way to do it. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Given a file like this: a b a b I'd like to be able to use sed to replace just the last line that ... file contents might be. Thanks in advance. See Question&Answers more detail:os...
asked Oct 24, 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

...