Questions tagged as 'regex'

2
answers

Retrieve content between custom tags using RegEx

I need to capture content that is between a custom tag that has a default identifier, such as <:item>Conteúdo</item> , but I'm not able to make the closing of this tag also customizable, and in the case I'm only getting this wa...
asked by 18.09.2014 / 20:34
1
answer

How to get the contents of the condition of the JOIN clause

I have the following situation that can be seen in this link . The expression is: /((^|\s)(right|inner|left)\sjoin\s(.*?)on\s(.*?)(?=(inner|right|where)?))+/gmi I need to get the conditions that are within on , plus the other info...
asked by 09.04.2014 / 14:36
1
answer

Regex to extract HTML information

I'm trying to extract information that comes from reading email. But when it passes the match line, it bursts the following error:    {"analyzing \" (? si: (Information Type [^ \ d] + (? [\ d] +) | Information Type (? [\ d] +)   - Invalid gro...
asked by 03.01.2019 / 13:14
1
answer

How to find text inside a file with Regular Expression

Good morning I need to create a script to normalize some files of type DFM (Delphi form file) where I need to change the expression the CommandText text to SQL.Text and whatever it has after = object QrUsuario: TSQLDataSet CommandText...
asked by 04.01.2019 / 13:03
1
answer

Regular expression to get the third part of a paragraph in HTML

I created this regex and apparently it's almost the way I would like it, however, I'd like to insert the <img> tag after the third occurrence of a sequence of paragraphs. The way I did it is inserting <img> after the fi...
asked by 06.12.2018 / 17:59
1
answer

Which regular expression use to replace on all occurrences found in a file in Eclipse?

Well, I have a CSS file of more than a thousand lines, where for every class there listed, there is a code @external declaring the same, eg: @external agora-eu-posso-usar-minha-classe; .agora-eu-posso-usar-minha-classe{ /* CSS... */...
asked by 20.03.2014 / 15:56
1
answer

Regular expression for wildcard word collection

I'm stuck in the following situation: I have a dictionary of words in a mongodb bank, where each word is stored in a document, which has additional information about it. I need a regular expression that can find each document through the word...
asked by 13.11.2018 / 02:35
1
answer

I need to find regex to parse a variable

I need to parse a C code using regex and I'm having difficulty knowing if a variable is getting a float or integer value. Ex: valor_01 = ( 5 * 3 ) / 2.5 + ( 4 % 3 ) ^ 4 ; valor_01 can be any variable name, something like \w+...
asked by 19.11.2018 / 00:04
1
answer

How to delete variables defined in the Header Manager in a given HTTP request (JMETER)

Could someone help? I would like to delete a certain (variable) parameter entered in Managed HTTP Headers in just one HTTP Request. Thank you in advance!     
asked by 12.10.2018 / 15:42
0
answers

Email validation with HTML5 Required and regular expression

Hello! I'm using native HTML5 validation for an "email" field and it works fine! However, I would like to increase it to a specific case, where I do not want to accept emails with "free" domains (gmail, hotmail, etc.). I did the regular expre...
asked by 13.09.2018 / 16:19