Questions tagged as 'regex'

1
answer

JMETER - Extractor Regular Expression (regex)

Good afternoon, I have the following difficulty in JMETER: "presignedUrlRequest": " link " I need to extract the entire link, but in 3 parts. 1 with just https. The second with fng-contratos-dev.s3.amazonaws.com. And the third from d29e66...
asked by 22.08.2018 / 20:49
1
answer

I can not extract data from a site or .txt file

Hello, I would like to extract some data from a website or even an example notebook #EXTINF:-1 tvg-logo="https://i.imgur.com/rq9vXKI.jpg" group-title="FILMES",Mulher-Maravilha (2017) http://cdnv4.ec.cx/RedeCanais/RedeCanais/RCFServer1/ondemand...
asked by 27.12.2017 / 10:36
1
answer

How to validate a regular expression text not allowing everything in white space?

I need to validate a line from a text file, where I already have part of the expression, but I lack the part where from position X to position Y I have 30 characters that correspond to the type string that can contain anything, which would corre...
asked by 25.07.2014 / 19:06
3
answers

How would regex look to handle this case? [closed]

I can not separate words like this: In case I have CPFConsole , I wanted to separate to CPF and console. The code I have separates like this:   ([A-Z][a-z]+)|([a-z]{0,})|([A-Z]{2,}) But this code separates this way: CPFC...
asked by 06.12.2016 / 21:13
2
answers

Removing unnecessary question mark from a String

I have possible strings, where I would like to have a way to prevent unnecessary question marks and add if it is missing. However, this function applies only at the end of the string. Here is the list below and the expected result: Possible...
asked by 27.08.2018 / 23:50
1
answer

Catch all content you do not want via Regex

I need to pull a string, by Regex, all content that is not equal to the CNPJ. Ex: Line 1 - > 123 - EMPRESA CICLANO101 30.589.587/0001-87 Line 2 - > 4567 - FULANO LTDA28.819.917/0001-31 Line 3 - > 90 - Com...
asked by 28.12.2018 / 23:24
1
answer

How to recover the data of a page [closed]

Good afternoon, could anyone help me on how I could retrieve data from this page with php? www.boline.com.br/teste.php I know that I need to use regular expressions in order to separate the data, but I do not know how to do it.     
asked by 04.02.2016 / 20:54
2
answers

Extract values from a string in javascript [duplicate]

I have a page that displays information through AJAX . Each time I do a search, I have the search value and page in URL , as follows:    / Material / Index ?? wordChave ?? numPage I can get these values through .split("??...
asked by 16.01.2017 / 14:27
1
answer

How to use regular expressions?

I have a string with this value:    Romania, "" PROXY_IP ":" 93.118.243.19 "," PROXY_LAST_UPDATE   Indonesia "," PROXY_IP ":" 117.102.88.121 "," PROXY_LAST_UPDATE   Russia "," PROXY_IP ":" 194.135.97.178 "," PROXY_LAST_UPDATE   Malaysia, "PRO...
asked by 06.09.2018 / 03:19
2
answers

Find patterns inside a String [closed]

I'm having trouble finding two patterns inside a string in java, given a string. For example: String str = 0214783452314021984081894723280904197901644376630211019960917898344018051986167734221102312200100173255450080919680409018769025111981007...
asked by 15.03.2018 / 18:32