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
531 views
1 answer
    Perl: $string =~ s/[áàa?]/a/gi; #This line always prepends an "a" $string =~ s/[éèê?]/e/gi; $string ... .0 built for i586-linux-thread-multi"). See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
685 views
1 answer
    Is it possible to implement in Python something like this simple one: #!/usr/bin/perl my $a = 'Use HELLO1 code'; ... CODE, code, Code and so on) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
655 views
1 answer
    I have a java string such as this: String string = "I <strong>really</strong> want to get rid of the strong ... have no idea how to write those. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
777 views
1 answer
    In my java code, if a string input has got any of the special characters mentioned, that should get preceded by \ ... [i], newString)); } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
857 views
1 answer
    I want to extract out (ip, requestUrl, timeStamp) from the access logs to load to hive database. One line ... Can anybody help me with this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I know this question has been asked before but I can't get any of the answers I have looked at to work. ... , $pattern).Groups[1].Value $result See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
529 views
1 answer
    In my specific situation, I need to loop through several hundred files that contain a variable which stores a URL. ... ="someurl.com.orign.net" See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
907 views
1 answer
    I'm looking for a regular expression to match a Dutch phone number. These are the formatting requirements: Should start with ... [0-9]{10,11})$ See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
644 views
1 answer
    I'd like to strip this column so that it just shows last name - if there is a comma I'd like to ... Wilfred, Nancy Day, Bobby Jean Morris See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
520 views
1 answer
    I have a script that should append something to a file, but it is raising an error that I don't understand and not ... in 0.1s with exit code 1] See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
706 views
1 answer
    Perl's regular expressions have the K backslash sequence: K This appeared in perl 5.10.0. Anything matched ... anything equivalent in Python? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
815 views
1 answer
    How can I remove everything from a string apart from letters? I have an input field for first names. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
623 views
1 answer
    I am trying to split a string in C# the following way: Incoming string is in the form string str = "[ ... strings Any help would be appreciated! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
621 views
1 answer
    What is PCRE-compatible syntax? And is C# PCRE-compatible? From wikipedia I found this: Perl Compatible Regular ... shared by the other. Source See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
768 views
1 answer
    I have written this code, but it does not work. Can someone point out the issue? sub match_ip() { my $ip ... IP address, not do any validation. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
917 views
1 answer
    I am trying to use this regular expression to remove all instances of square brackets (and everything in them) ... permutations to no avail. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
657 views
1 answer
    In other words may one use /<tag[^>]*>.*?</tag>/ regex to match the tag html element which does ... text cannot contain an ambiguous ampersand. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
622 views
1 answer
    Lets Say we have Zaptoit:685158:[email protected] How do you split so it only be left 685158:[email protected] See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
509 views
1 answer
    I have a numberDecimal EditText which I want to validate using a regular expression. In validation what I want is: Before ... to place } } }); See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
879 views
1 answer
    I was trying to split an arithmetic expression (eg "1+2+10+15") on the plus signs. However, I didn't ... . Do you know the correct solution? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
695 views
1 answer
    we have an sed command in our script to replace the file content with values from variables for example.. ... service-account> Thanks in advance See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
658 views
1 answer
    I am trying to implement the enforcement of password complexity through regular expressions on both client (JavaScript) ... validate the above? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
941 views
1 answer
    I'm trying to extract the number before character "M" in a series of strings. The strings may look like: " ... Thanks a lot for the help. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
788 views
1 answer
    i'm trying to swap latitude and longitude values in notepad++ with regular expressions. i tried to search some guide ... do i have to use? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
628 views
1 answer
    Example: Speak -> Spubeak, more info here Don't give me a solution, but point me in the right direction or tell ... 'ub' in front of a vowel? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
969 views
1 answer
    Please prompt, how used REGEXP in SQLite? Realization: SELECT field FROM table WHERE field REGEXP '123' It is ... : no such function: REGEXP See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
686 views
1 answer
    I have the following dataset > head(names$SAMPLE_ID) [1] "Bacteria|Proteobacteria|Gammaproteobacteria|Pseudomonadales|Moraxellaceae| ... .*?|") See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
718 views
1 answer
    I am trying to deal with some very messy data. I need to merge two large data frames which contain ... -tastic method? Thanks in advance 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

...