48 questions
A regular expression that finds a group of one or more alphabets separated by a single space is ^([:alpha:]+?)+$ but I don't know why.^ and $ are starting and ending.[[:alpha:]+?] I don't know exactly...
If Python contains even one of the Windows file name unknown characters \:/ * ? < > | I want to replace those characters with spaces.I don't know how to write a regular expression to include ev...
list = [(10) Hello, Today's weather is cold (43423)(apple) It's very cold]There's a string list like this.I want to delete all the strings in here, including parentheses.I wrote the re module like the...
For example,a for b of cWhen there's this sentence,I want to extract the word for before and after.Let's say the function we extract is funcfunc(a for b of c, for, 1) -> afunc(a for b of c, for, 2)...
In the part where you enter the date, in EditText, Which regular expression allows you to enter only numbers from 1-31?ㅠ
Hello, I have a question about the regular expression, so I'm uploading it.In the case of multiple classnames as below, I would like to ask if there is a regular expression that extracts only classnam...
var temp = This is a string.;alert(temp.count(is)); // output '2'I'm looking for a function that counts how many strings in a particular string into a parameter when I insert a string like this, but i...
I'm checking the uri string, but it's really hard to understand even if I see a lot of regular expressions;;;So I have a question. Help!The conditions are as follows. If '/' appears in the last charac...
In the regular expression, it is aaabbcdfsaabbbdfcsdaaddf that matches (a{1,3}b{1,5}) with (a{1,3}b{1,5}), so why is (a{1,3}b{1,5})* the first aaabb?
In the JTextArea, I want to separate the strings by '\n'. The sauce below is not working properly. I've already tried '\r\n | \r | n'.public void insertUpdate(DocumentEvent e) { String split[], docStr...
« | - 3 - | » |
© 2024 OneMinuteCode. All rights reserved.