expression tag

115 questions


1 answers
126 views
0
What existing libraries are equivalent to Regexp:: Assembly in Ruby?

I am looking for an existing Ruby library equivalent to Regexp::Assemble and Regexp::Trie for Perl and regexp-opt with Emacs.RubyGems if possible.What you want is a method of creating a compact regula...


2 answers
79 views
0
I want to delete the information at the end of the URL using the regular expression.

http://www.amazon.co.jp/%E3%83%8E%E3%83%BC%E3%83%88%E3%83%91%E3%82%BD%E3%82%B3%E3%83%B3-EeeBook-X205TA-WHITE10-Windows10-11-6%E3%82%A4%E3%83%B3%E3%83%81%E3%83%AF%E3%82%A4%E3%83%89/dp/B015DTB87Q/ref=sr...

2 years ago

3 answers
104 views
0
I want to replace one of the two consecutive numbers and erase it.

I would like to do the following with the notepad editor.000012970000129700001235 0000123500001245 00001245Numbers like the ones above 000012970000123500001245I'd like to have only one as shown in .Wh...

2 years ago

3 answers
66 views
0
I want to replace one of the two consecutive numbers and erase it.

I would like to do the following with the notepad editor.000012970000129700001235 0000123500001245 00001245Numbers like the ones above 000012970000123500001245I'd like to have only one as shown in .Wh...

2 years ago

2 answers
70 views
0
I have implemented GAS in my Google document, but I cannot replace regular expressions.

The script below does not work as intended.I'm going to search for the sentence that starts with ★ and display it as it is, but I can't do this, so could you please let me know?For example, I would li...


2 answers
104 views
0
Replacing the Value of href in PHP

What should I do to replace all href values with $url if I have html like the following?Please let me know if you know more.Thank you for your cooperation.<div class=article_image><a href=htt...


1 answers
115 views
0
I want to remove commas in the specified column of csv by regular expression.

I'd like to remove the comma in the CSV specified column of the CSV from the regular expression for the CSV read in CSV mode, but I've never learned the regular expression, so I don't know what to do....


1 answers
153 views
0
Treatment of Regular Expressions ..* 」 in awk/sed/grep and ruby(fluentd)

I am conducting a text-based log analysis (fluentd), and I am considering using grep for the desk examination.Eventually, I checked the difference in the processing method when registering Fluentd.In ...


3 answers
116 views
0
Understanding String Search Using Regular Expressions in Python 3.8.5 Series

If you look at tpe, you can see the data <class'pandas.core.series'>.I would like to do a string search for this data. match=Series_data [Series_data==F:\\]and the result was obtained.(So far it...


1 answers
75 views
0
Ruby's regular expression, which you want to store in an array every time a specific string is included.

I would like to use Ruby's regular expression to determine that a particular string (for example, vowel [aiueo]) is stored in an array whenever the String string contains a specific string.How should ...

2 years ago
« - 5 - »

© 2024 OneMinuteCode. All rights reserved.