regex tag

48 questions


1 answers
86 views
0
Regular expression question.

I have a question about changing the string to a regular expression.It's seven. 12, 2016 String December 7, 2016 How do I change to? I'm going to use re.sub function and I'm wondering how to make a re...

1 years ago

1 answers
57 views
0
I have a question about converting regular expression strings

Service, suction, sousand,... I want to convert only 만 in front of a short vowel from a string containing ㅅ such as 이.The Korean alphabet has already been written in Korean, but is there any way to...

1 years ago

1 answers
67 views
0
It is a question of finding and returning the address of the lot number and road name by Python regular expression.

For example, in the sentence 'I live in 338 Samseong-dong, Yongsan-gu, Seoul'I'm going to solve the problem of finding '338 Samseong-dong, Yongsan-gu, Seoul'.You should be able to find it with a stree...

1 years ago

1 answers
77 views
0
I'm curious about \ processing in Python regular expressions.

import reb = 'Yaho\'a = re.compile('\\')print(re.sub(a, '@', b)What I was expecting was a yahoo@, but there's a compilation errorIf you want to do what I expected, re.compile('\\') Why do I have to wr...

1 years ago

2 answers
73 views
0
Get characters within regular expression specified characters

dsfasdfasdf<img src=\http://localhost:5757/wordpress/wp-content/uploads/anspress-temp/5d16b2028ad608832beca5678fe2aa2e9ffd3596_1.png\ /> asdfasdfasdfI'd like to find the characters between (src=...

1 years ago

1 answers
74 views
0
To distinguish names from Python strings

First of all, the purpose is to distinguish only Korean/English names from strings that combine Korean names, English names, special characters, and spaces, leaving only one duplicate name. So far, wh...

1 years ago

2 answers
132 views
0
Find Python Beautiful Soup Regular Expression

I'd like to modify the numbers in the QTY column as shown in the picture.The code in each QTY column is a code that changes only the last digit, such as txtAvailableQTY_0, txtAvailableQTY_1, txtAvaila...


1 answers
68 views
0
How to remove Unicode characters from Javascript (string.replace())

Hi, I'm trying to delete two unicodes in the text with javascript: &zwj and &emsp, but it doesn't work as I thought.<div class=item data-value=0399>&zwj;&emsp;Fruits </div>...

1 years ago

1 answers
75 views
0
Escape error question when using regular expression.

'A lesson for all of us: If we do not offer the body and mind a period of rest, retreat, and recovery, our \x93engagement\x94 with the world becomes a form of self-injury, of overload. We don\x92t dev...

1 years ago

2 answers
63 views
0
To click only the button for a particular pattern id during Python crawling

If there are multiple buttons with similar IDs, click all buttons and If you don't have the id of that button, you want to create a code that doesn't do anythingIn the case of similar IDs, the front i...

« - 2 - »

© 2024 OneMinuteCode. All rights reserved.