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
809 views
1 answer
    Morning All I have a javascript regular expression that doesn't work correctly and I'm not sure why. I'm ... jsFiddle. Anyone know whats wrong? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    Hi I know that we can validate Min and Max Length of a number using Regex. But can we validate Min ... with optional decimal point and commas. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
871 views
1 answer
    I'm taking a numerical input as an argument and was just trying to account for leading zeroes. But it seems ... posts have suggested. Any ideas? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
921 views
1 answer
    I have a csv-file, now i need to bring it in another form. I want to have a line break after a ... using notepad++. Thanks for your help See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
833 views
1 answer
    I'm trying to find comment blocks in PHP source code using regular expressions in Python 3. The PHP comments ... help is much appreciated! :D See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
791 views
1 answer
    Hay, i can't seem to find any regular expressions online to remove <h1></h1> tags (and their content). Anyone lend a hand on this and help. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I am using Beautiful Soup to pull out specific div tags, and it seems I can't use simple string matching. The ... work. Can anyone help me out? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
754 views
1 answer
    Normally validation of simple email is: /^([A-Za-z0-9_-.])+@([A-Za-z0-9_-.])+.([A-Za-z]{2 ... or more emails sometimes. Thanks for the answers. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
783 views
1 answer
    I have to extract all email addresses from some .txt documents. These emails may have these formats: [email protected] { ... someone help me? Thank you! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
732 views
1 answer
    I'm new to JavaScript and have a question about regular expressions. I have the following code: var patt3 ... clarifications. Thanks in advance. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
814 views
1 answer
    I need to convert certain words to lower case. I am working with a list of movie titles, where prepositions and ... , movies_updated) And so on. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
802 views
1 answer
    I have a conditional regular expression that works on regex test websites, such as regexlib.com, but cannot get ... this Java limitation? TIA See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
643 views
1 answer
    So I have a really long string and I want to work with multiple matches. I can only seem to get the ... 'm open for more specific suggestions. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    How do I sum or add a certain value to all those numbers? For example my goal is to increase all ... with Notepad++ using Regular Expressions? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
731 views
1 answer
    I have a file: header trigger text1 text2 trigger text5 trigger ... trigger ... I want sed to only match ... trigger How do I accomplish this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
717 views
1 answer
    Is there any implementation of regex that allow to replace group in regex with lowercase version of it? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Part of my regex is : /<a .*?(" "|"")(href). Within the (" "|""), I am trying to say match with either ... also tried ("s"|"") with no results. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
870 views
1 answer
    I want to remove all unnecessary commas from the start/end of the string. eg; google, yahoo,, , should become google, ... /, ""); return s; } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
774 views
1 answer
    I am trying to find environment variables in input and replace them with values. The pattern of env variable is ... have a new string 1sojods23? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
881 views
1 answer
    In C# code, I am trying to pass chinese characters: " 中文ABC123". When I use alphanumeric in general using "^[a-zA- ... do I need to add for C#? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
701 views
1 answer
    Using this bit of code trims out hidden characters like carriage returns and linefeeds with nothing using javascript ... found in the string? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
806 views
1 answer
    I'm trying to use a perl one-liner to update some code that spans multiple lines and am seeing some ... necessary. Am I missing something? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
895 views
1 answer
    I'm trying to write a method that removes all non alphabetic characters from a Java String[] and then convert ... animal animals are not people See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
987 views
1 answer
    I'm using preg_replace in PHP to find and replace specific words in a string, like this: $subject = "Apple apple"; ... of a word is a capital. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
907 views
1 answer
    I would like to create a query where I select all records which contain characters that are not a-z or A-Z so something like ... '![A-Z] [a-z]') See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
733 views
1 answer
    this is some kind of variable content in javascript: <meta charset="utf-8"> <title>Some Meep meta, awesome< ... tabulator or to keep the format. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
669 views
1 answer
    How do you replace all of the characters in a string that do not fit a criteria. I'm having trouble specifically ... // produces: "03-463-9281" See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
743 views
1 answer
    I have two strings string1 = 44.365 Online order and string2 = 0 Request Delivery. Now I would like to apply a ... 0. How can I accomplish this? 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

...