Skip to content

Tag: find

Find and replace no updating values

I’m writing a script that combine csv into one and then do a find an replace for specific formatting and ask the user to correct the ones that not match. The output is not on the right csv format It should be Answer This problems has a number of different parts, and you’ve made a good attempt :) I…

Find Function in Python

I’ve made this code but it is not acting how I was expecting: Basically I read a .pcap file which can be full of information or empty and I’m looking for a word inside each raw. If it is found I start some operation on this string in order to reach a desidered position inside the string. I noticed…

python substrn cells in a column dataframe

I have this data frame with this kind of column: I need to clean this up and leave from “DCG_” up to where “</div>” begins: Most of the cells in this column vary where the “DCG_” is located as well as the “</div>”, I’m trying to use the followi…

PyCharm 2021.1 “Find in Files” not working

Ever since I installed update to PyCharm 2021.1 my find usages and find in files features always return nothing found. Is there some settings that I’m missing that I suppose to set in this new version? Answer The answer is on Jetbrains’s issue tracker here: issue IDEA-266391. WORKAROUND Invoke Fil…

How to find a link in a big string

I want to find a link like https://stackoverflow.com/questions/37543724/python-regex-for-finding-all-words-in-a-string in a big string but there are many links and I want all links that starts with https://stackoverflow.com/questions/ the string look like something https://stackoverflow.com/questions/37543724…