Im stuck in my re findall syntax new_s = re.findall(r"[A-Za-z@#0-9]+|\W+", s) But I am not familiar with this re syntax, right now I make 50% of "Wo ...
Im stuck in my re findall syntax new_s = re.findall(r"[A-Za-z@#0-9]+|\W+", s) But I am not familiar with this re syntax, right now I make 50% of "Wo ...
I am using this website:(https://www.jurongpoint.com.sg/store-directory/) This is the area i am trying to scrape: I am trying to scrape store name wi ...
I want to get the list of all the customers to put it in a global variable. For that, I configure the twig.yaml file: Then, I create a file OrderE ...
how can i find all path of node that are connected between : a to g by using rules on Prolog ? The graph my simple code: ...
I am new to regex and can't work around an issue. With this code, I need to extract date given in multiple formats. The regex code is giving me additi ...
I want to fetch particular href of a webpage when I use find_all I get all the href present in that website I just need some section of it using beaut ...
I want to extract numbers from a long string with regular expressions. But i just want numbers with exactly 8 digits. (and no letters in front or at t ...
I am trying to use findAll function that takes two arguments: collection, condition. My collection will be facilities (Pharma) but condition is based ...
I have a problem. When using the .find command, the library works as it should and finds the right parts of the text from the site. But when using .fi ...
I'm trying to parse headhunter.kz website. In use: python 3.9, beautifulsoup4. When i parse pages with vacancies, i parse only 20 div-block with "serp ...
I am looking for a regex or a regex flag in python/BigQuery that enables me to find overlapping occurrences. For example, I have the string 1.2.5.6.8 ...
I trying to use: and price value is: XX.XX$ \ X.XX$ \ X$ $XX.XX \ $X.XX \ $X ...
I would like to create a function that extracts a sentence that contains a keyword or substring of interest, as well as the sentences before and after ...
Good morning :) I am trying to scrape the content of this website: https://public.era.nih.gov/pubroster/preRosIndex.era?AGENDA=438653&CID=102313 ...
I have an endpoint to get all Posts, I also have multiple @RequestParams used to filter and search for values etc. The issue I'm having is that when ...
I got a list of links and some of them look like https://www.domainname or https://domainname I need to make a regex pattern to get only the domain ...
I've just learned regex in python3 and was trying to solve a problem. The problem is something like this: You have given a string where the first par ...
My requirement is very simple, but I just could not figure out how to reach it. This is the original string ACCCTNGGATGTGGGGGGATGTCCCCCATGTGCTCG, I w ...
I'm trying to pratice some data scraping and am trying to scrape financials from yahoo finance. When I do the data scraping it seems that I do not get ...
I have a string that is like and i need to output something like this. I,ve been trying to formulate somekind of regex to find or to split the e ...