115 questions
I would appreciate it if you could use EmEditor's macro, but if there is any other way, please let me know.1. Number each logical line of a sentence2. Combine multiple sentences for the same logical l...
As the title suggests, I would like to know a regular expression that detects a numeric string with the same number as 10 characters, such as 0000000000.I've tried many things using the regular expres...
There is a data frame containing the URL as shown below.I would like to extract the values of certain parameters here and create a new column to replace them.df=pd.DataFrame({'ulr':['https://www.shop....
I'd like to validate the start and end tags of HTML tags in Java, but I'd like to understand the regular expression.(\\s*(?:/\\s*)?[tag name](?:\\s*|\\s+[^>]+))(?:>|(?=<)|$(?!\\n)))I found a ...
If the regular expression of go is slow, there was an article on the Internet, so did you want to make it similar? Which is faster, string or regexp? (I didn't compare it with the code I told you beca...
Thank you for your help.I would like to put a space after the comma after the number.Therefore, we have specified the following regular expressions:pattern string:(\d+),Search word string:\1, However,...
I want to match the nth hyphen in the regular expression.For example, I would like to know the regular expression that matches and removes the right -fdfd-fd from the second hyphen from the left in th...
This is what I'm using nowregex:/^[Ah-anger 1- -a-zA-Z0-9]+$/Half-width spaces are no longer available, but full-width spaces are not possible.
Is it possible to extract a string in a regular expression in which a particular word appears more than once?For example, I would like to extract the string of KW, which appears more than once, as sho...
What does the % part of the code below do?Affected partsl_regex=re.compile(r'^%s*'%character[0])r_regex=re.compile(r'%s*$'%character[0])whole codeimport redef strip_text(text, *character): if characte...
« | - 3 - | » |
© 2024 OneMinuteCode. All rights reserved.